Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-06-05 13:12:06


It seems to me that having all these operations
(read/write/add/test&set/exchange) is a bit overkill. What's wrong
with just a plain old mutex (with lock/unlock). Is there that much of
a performance difference to be gained?

Oh, and along the lines of Steve's comment about signaling locks, etc.
the notions of a semaphore and of a condition variable (both are in
posix threads) are certainly important... probably important enough to
be considered separately from mutexes.

Cheers,

Jeremy

John Maddock writes:
> ATOMIC OPERATIONS
> ~~~~~~~~~~~~~~~~
>
[ lots of operations...]


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