Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2391: interprocess_recursive_mutex doesn't work interprocess
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-10-10 14:30:39
#2391: interprocess_recursive_mutex doesn't work interprocess
-----------------------------------------------------+----------------------
Reporter: Sergey Samsonik <serge_98_at_[hidden]> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.35.0 | Severity: Showstopper
Resolution: | Keywords: interprocess fork pthread
-----------------------------------------------------+----------------------
Comment(by Sergey Samsonik <serge_98_at_[hidden]>):
This is not a showstopper for me any longer since the systems I'm working
with now (CentOS/RedHat 4.5+) implement Posix shared mutexes, even thought
/usr/include/bits/posix_opt.h states it otherwise. There's another
/usr/include/'''nptl'''/bits/posix_opt.h header, which defines correct
values for these systems. -I/usr/include/nptl compiler option addressed
the problem in this case.
I don't know it it's possible or how, a solution (at least a temporary
one) may be disabling generic (interprocess) recursive mutexes on systems
where thread ids are not unique.
Also, the problem looks very similar to the one in ticket #1390 here.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2391#comment:3> 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:49:58 UTC