Re: [Boost-bugs] [Boost C++ Libraries] #6108: Boost interprocess lock consumes 100% CPU on OS X

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: 2013-09-13 20:27:45


#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:
------------------------------------+--------------------------

Comment (by igaztanaga):

 BOOST_INTERPROCESS_POSIX_PROCESS_SHARED is not fixing anything as Mac Os
 does not support POSIX process-shared synchronization primitives.

 Starting in [85401] revision, all synchronization primitives based on
 spinlocks (for systems like Windows or Mac Os that don't support native
 process-shared synchronization primitives placed in shared memory) use an
 improved wait strategy, starting with a raw loop+yields for a OS tick
 (typically 10ms) and going to sleep after that. It has improved the
 performance and in most cases and CPU usage is very low.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6108#comment:6>
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:14 UTC