Re: [patch] Fix std::try_lock behaviour

2014-10-01 Thread Jonathan Wakely
On 22/09/14 15:54 +0100, Jonathan Wakely wrote: When I fixed std::try_lock a few years ago I misread the spec, exceptions should not be caught and turned into a return value. Tested x86_64-linux, committed to trunk. ... and also the 4.9 branch. * include/std/mutex (try_lock): Do not

[patch] Fix std::try_lock behaviour

2014-09-22 Thread Jonathan Wakely
When I fixed std::try_lock a few years ago I misread the spec, exceptions should not be caught and turned into a return value. Tested x86_64-linux, committed to trunk. commit 5effca670aa009c60e31b639604da4d00f388038 Author: Jonathan Wakely Date: Thu Sep 18 16:15:54 2014 +0100 * include/