Subject: Re: [boost] [atomic, x86] need another pair of eyes
From: Peter Dimov (lists_at_[hidden])
Date: 2012-12-22 20:39:54
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?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk