Boost logo

Boost Users :

Subject: Re: [Boost-users] owns_lock on lock not on mutex
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-10-12 21:32:16


Le 12/10/15 22:06, Mikael Olenfalk a écrit :
> 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.
>
>
Please, don't use non-documented functions/classes :(
This class and functions are flawed.

Vicente


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