
13 Oct
2015
13 Oct
'15
1:32 a.m.
Le 12/10/15 22:06, Mikael Olenfalk a écrit :
On Mon, Oct 12, 2015 at 11:03 AM, gast128
wrote: Hello all,
there is an owns_lock on the lock type but not on the mutex. This is quite unhandy. Any reason why?
The headers:
boost/thread/testable_mutex.hpp boost/thread/is_locked_by_this_thread.hpp
Might be what you are looking for. They do not seem to be documented so I do not know of their status.
Please, don't use non-documented functions/classes :( This class and functions are flawed. Vicente