Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2006-09-20 06:51:34


"Cory Nelson" <phrosty_at_[hidden]> writes:

> On 9/19/06, Peter Dimov <pdimov_at_[hidden]> wrote:
>> Anthony Williams wrote:
>>
>> > The read-write mutexes aren't ready, yet, but the old ones are broken
>> > anyway.
>>
>> Feel free to use
>>
>> http://www.pdimov.com/cpp/rw_mutex.cpp
>>
>> until a better implementation turns up. :-)
>
> Here's a lightweight starvation free (ticket based, no preference)
> reader-writer lock.
>
> http://dev.int64.org/snips/rwlock.hpp

Thanks, guys. I'll have a look later.

Anthony

-- 
Anthony Williams
Software Developer
Just Software Solutions Ltd
http://www.justsoftwaresolutions.co.uk

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk