
13 Jan
2013
13 Jan
'13
4:15 p.m.
On Sunday 13 January 2013 16:08:28 Vicente J. Botet Escriba wrote:
Could you work on complementing your patch to take care of the C++11 interface?
I have updated the patch in the ticket #5752 with the C++11 definition of atomic_flag. Note that the new patch disables the BOOST_THREAD_PROVIDES_ONCE_CXX11 macro when constexpr is not available. The patch also adds some heuristic code for detecting an atomic-compatible integer type to even better avoid using the spinlock pool of Boost.Atomic. The modified files are attached as well. These are boost/thread/pthread/once.hpp, boost/thread/detail/config.hpp and libs/thread/src/pthread/once.cpp.