21 Aug
2013
21 Aug
'13
8:41 a.m.
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.c... http://www.boost.org/doc/libs/1_54_0/libs/smart_ptr/test/sp_atomic_mt2_test....