Boost logo

Boost Users :

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


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