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 23:47:59
#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 anonymous):
I found in the 10.8 SDK:
usr/include/pthread.h:int
pthread_mutexattr_setpshared(pthread_mutexattr_t *, int );
But whether or not it is actually available is another question.
That man page is from 1998, has it actually been updated?
I can't give you a really good detail right now, but I DID have good
success by manually defining
#define BOOST_INTERPROCESS_POSIX_PROCESS_SHARED
in my project, CPU usage went down significantly (basically to 0) and
everything was working, as expected.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6108#comment:9> 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