$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [thread][repost] recursive shared mutex
From: Marsh Ray (marsh_at_[hidden])
Date: 2010-11-28 17:39:57
On 11/28/2010 04:22 PM, Howard Hinnant wrote:
>
> I guess to implement this the shared_mutex would need
> to keep a vector<pair<thread::id, unsigned>> of shared owners so
> that it can detect and track the recursion.
Or perhaps a few bytes of thread-local storage? Don't know if that's
fair game for this implementation.
- Marsh