$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] owns_lock on lock not on mutex
From: AgustÃn K-ballo Bergé (kaballo86_at_[hidden])
Date: 2015-10-12 09:54:23
On 10/12/2015 6:03 AM, gast128 wrote:
> there is an owns_lock on the lock type but not on the mutex. This is quite
> unhandy. Any reason why?
A mutex could never own a lock on itself. The owner of a lock is the one
responsible for calling unlock on it.
Regards,
-- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com