Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6108: Boost interprocess lock consumes 100% CPU on OS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-23 12:53:03
#6108: Boost interprocess lock consumes 100% CPU on OS X
--------------------------------------------+-------------------------------
Reporter: tibdewal.rahulkumar@⦠| Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.47.0 | Severity: Showstopper
Resolution: wontfix | Keywords:
--------------------------------------------+-------------------------------
Changes (by igaztanaga):
* status: new => closed
* resolution: => wontfix
Comment:
OS X is unix-like and calls POSIX function sched_yield(). CPU consumption
is high if there are no other threads in the system (this is the best we
can do). I don't think this is a bug, as sleeping for some time will hurt
performance of other implementations with short lock times.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6108#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC