|
Boost : |
From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-06-08 05:17:06
Brane,
>No, you need an atomic operation to do "lock.data = 0", so you've
>again got a function call (or inline assembly -- completely off the
>rails of defined behaviour).
At least on intel, all aligned writes are atomic, there is no need for
assember in this case.
- John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk