|
Boost : |
Subject: Re: [boost] [interprocess] (OS X) waiting on condition variable = CPU 100% + fans running loud
From: Peter Dimov (lists_at_[hidden])
Date: 2013-01-06 10:52:53
> > It's maybe the biggest problem we have with Interprocess, sorry about
> > that. Maybe you can avoid 100% CPU usage inserting sleeps between atomic
> > operation tries in interprocess_mutex or interprocess_condition code.
> > Sorry
> > about the bad news.
> > Ion
There's yield_k in <boost/smart_ptr/detail/yield_k.hpp> that could be useful
here.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk