Boost logo

Boost Users :

Subject: [Boost-users] [interprocess] (OS X) waiting on condition variable = CPU 100% + fans running loud
From: Francisco Lopes (francisco.mailing.lists_at_[hidden])
Date: 2013-01-05 11:34:56


Hi, I was implementing a kind of server using shared memory.
The server should keep idle, waiting for a request and I do this by
waiting on a condition
variable, of course.

I then noticed my fans running high when I let the server waiting a
little longer while testing
and discovered this happens simply because of some busy loop
implementation for condition
waiting.

Is there any reason for that? Given the interprocess library age, no
way for implementing a
non-busy interprocess condition variable waiting is available?

https://svn.boost.org/trac/boost/ticket/6108

Regards,
Francisco Lopes


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net