Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5144: interprocess_condition does not support interprocess_recursive_mutex
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-01 17:41:54
#5144: interprocess_condition does not support interprocess_recursive_mutex
-----------------------------------------+----------------------------------
Reporter: thomas.wilczek@⦠| Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.45.0 | Severity: Problem
Resolution: wontfix | Keywords:
-----------------------------------------+----------------------------------
Changes (by igaztanaga):
* status: new => closed
* resolution: => wontfix
Comment:
Recursive mutexes are not usable with condition variables in POSIX for
some good reasons. For instance, if a recursively locked mutex were used
with a condition variable, the unlock performed for a condition wait would
not actually release the mutex, no other thread can satisfy the condition
of the predicate, and the thread would wait indefinitely.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5144#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:06 UTC