Re: [patch] proposed fix for libstdc++/54352

2013-07-21 Thread Jonathan Wakely
On 16 June 2013 15:35, Jonathan Wakely wrote: > In order to conform to [thread.condition.condvarany]/5 and fix this > PR we need an ABI change to std::condition_variable_any, so that its > internal mutex can outlive the condition_variable_any while there are > threads blocked on the mutex, which t

[patch] proposed fix for libstdc++/54352

2013-06-16 Thread Jonathan Wakely
In order to conform to [thread.condition.condvarany]/5 and fix this PR we need an ABI change to std::condition_variable_any, so that its internal mutex can outlive the condition_variable_any while there are threads blocked on the mutex, which this patch does by using a shared_ptr to hold the mutex