12 Oct
2015
12 Oct
'15
9:49 p.m.
Mikael Olenfalk
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.
Yes this seems what I need; possibly to use the test_mutex only in debug.