
8 Jan
2013
8 Jan
'13
1:24 p.m.
El 06/01/2013 23:59, Peter Dimov escribió:
These were in boost/detail at first, but I moved them into smart_ptr/detail so that it's clear to which library they belong; given that we'll be moving to separate repositories, this was obviously a good idea. :-)
Ok, thanks.
For the spinlocks, the way forward is to use std::atomic_flag, and much of the other stuff is also obsoleted by the C++11 atomics. Unfortunately, I was unable to get yield(k) into the standard.
[CCing Tim duet to Boost.Atomic/Lockfree mention] We need to be compatible with C++03 compilers so I guess maybe Boost.Atomic/Boost.Lockfree might be a good candidates for these utilities. Best, Ion