|
Boost : |
Subject: Re: [boost] Problems with yield_k workaround. Still too slow.
From: Peter Dimov (lists_at_[hidden])
Date: 2013-08-21 04:41:55
Marcello Pietrobon wrote:
> *The bottom line is that in yield_k.cpp we need to change the constant in
> the code *
>
> from 32 to *1000 * at least.
I do not object to such a change (32 -> 1024 and perhaps 16 -> 64 or higher
for the 'pause' case as well); however, it would be prudent to first test it
against other usage scenarios. I can provide two test cases that would
likely be affected, sp_atomic_mt_test.cpp and sp_atomic_mt2_test.cpp, and
I'm sure that there are other Interprocess usage examples that can be
checked.
http://www.boost.org/doc/libs/1_54_0/libs/smart_ptr/test/sp_atomic_mt_test.cpp
http://www.boost.org/doc/libs/1_54_0/libs/smart_ptr/test/sp_atomic_mt2_test.cpp
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk