From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-30 11:08:02


Robert Zeh wrote:
> Could the primitives used by the lock-free shared_ptr be made
> available from boost threads? It would be helpful for other people
> writing lock-free code.

Probably not, and even if they are made available, it wouldn't be helpful.
You can't write correct lock-free code with primitives that have unspecified
memory synchronization properties. Well... maybe you can, but most of us
cannot. ;-)

(Most of us can't write correct lock-free code at all, but that's a
different story.)