Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-04-21 11:20:22


Anthony Williams:

>> shared_mutex is not designed for this scenario, since you have high
>> contention. shared_mutex is designed for infrequent updates.

On second look, yes, you are right, the test is indeed pathological. I
tested a few other read/write mutex implementations I have lying around and
all have various amounts of trouble with it.


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