Boost logo

Boost Users :

Subject: Re: [Boost-users] owns_lock on lock not on mutex
From: Mikael Olenfalk (mikael.olenfalk_at_[hidden])
Date: 2015-10-12 16:06:26


On Mon, Oct 12, 2015 at 11:03 AM, gast128 <gast128_at_[hidden]> 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.

/M



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net