
23 Dec
2012
23 Dec
'12
1:39 a.m.
Tim Blechmann wrote:
unfortunately this test still failed on one of the sandia machines (gcc-4.7.1_0x) ...
I don't know if this is the cause of the failure, but the test still has a race condition. If get() calls get_elements(), which returns false, and then the writer pushes the last elements and sets running to false, get() will then return.
true ... waiting again for the tests to cycle ...
thnx, tim
I think that you missed one place - spsc_queue.cpp, line 397?