
30 Mar
2005
30 Mar
'05
4:08 p.m.
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.)