Boost logo

Boost Users :

Subject: Re: [Boost-users] [rerepost][threads] recursive shared_mutex
From: Filip Konvička (filip.konvicka_at_[hidden])
Date: 2009-05-06 10:58:19

> 2. The basic technique is
> (except that the store_release to count_ is not necessary, it's under a
> lock, count_ = 1 is sufficient)
> but, as I point out, it requires an atomic thread ID type.

One could probably use boost::detail::spinlock_pool for that. Peter,
thanks for providing this :-) BTW, do you plan to release spinlocks as a
regular Boost library?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at