Re: [patch] fix libstdc++/57641

2013-10-07 Thread Jonathan Wakely
On 18 June 2013 23:55, Jonathan Wakely wrote: Instead of fixing the bug three times I refactored the try_lock_xxx functions into a mixin template and used that in the various timed mutexes. PR libstdc++/57641 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move

[patch] fix libstdc++/57641

2013-06-18 Thread Jonathan Wakely
Instead of fixing the bug three times I refactored the try_lock_xxx functions into a mixin template and used that in the various timed mutexes. PR libstdc++/57641 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common functionality to new __timed_mutex_impl