From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-24 10:40:07
So, shared_ptr is now lock-free on Windows, but not on the other platforms.
We need a portable atomic primitive for that. The only alternative are the
internal libstdc++ helpers __atomic_add and __exchange_and_add.
But in order to use them correctly, we need to know what their exact
semantics are with respect to memory synchronization.
To the best of my knowledge, this is not documented anywhere.
What do we do now?
-- Peter Dimov http://www.pdimov.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk