Subject: Re: [boost] [interprocess] (OS X) waiting on condition variable = CPU 100% + fans running loud
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2013-01-08 08:24:59
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. :-)
> 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.