Are shared_mutex's recursive?
25 Oct
2012
25 Oct
'12
7:38 a.m.
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?
25 Oct
25 Oct
9:09 a.m.
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-t...
4415
Age (days ago)
4415
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
John M. Dlugosz