$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Are shared_mutex's recursive?
From: Igor R (boost.lists_at_[hidden])
Date: 2012-10-25 05:09:52
> Clearly recursive acquiring of a shared (reading) lock is natural.
> But what about an exclusive lock? Can the owning thread acquire the write
> lock recursively, or even read locks recursively?
No, shared_mutex is not recursive.
See the following thread:
http://boost.2283326.n4.nabble.com/rerepost-threads-recursive-shared-mutex-td2591273.html