Subject: Re: [boost] [interprocess] (OS X) waiting on condition variable = CPU 100% + fans running loud
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-01-08 08:38:59
>> > 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.
i think it is a good idea to use boost/std atomics. smart_ptr has
support for much more architectures, though ... it would be best to
integrate all that architectures into boost.atomic ...