Subject: Re: [boost] Maintenance Patches and cleaning up trac
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-05-21 15:26:09
"vicente.botet" <vicente.botet_at_[hidden]> writes:
> From: "Anthony Williams" <anthony.ajw_at_[hidden]>
>> "vicente.botet" <vicente.botet_at_[hidden]> writes:
>>> This is a very old ticket that comes recurrently
>>> #2330 thread::interrupt() can be lost if condition_variable::wait() in progress
>>> #3735 thread_group::interrupt_all() is unreliable
>>> #3960 condition_variable::timed_wait() cannot be interrupted
>> This one is a pain. I'm not sure how to fix it :-(
> #2330 propose something close to a solution. You can also change the
> documentation and state that wait doesn't a interruption point.
I'll have a look at #2330 again then. I'd rather find a fix than lose
wait() as an interruption point, but better that than have it broken.
-- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976