[Boost-bugs] [Boost C++ Libraries] #12045: Bug in condition_algorithm_8a<ConditionMembers>::wait when using timed wait

Subject: [Boost-bugs] [Boost C++ Libraries] #12045: Bug in condition_algorithm_8a<ConditionMembers>::wait when using timed wait
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-07 11:13:46


#12045: Bug in condition_algorithm_8a<ConditionMembers>::wait when using timed wait
-----------------------+------------------------------
 Reporter: yochait@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.55.0
 Severity: Problem | Keywords:
-----------------------+------------------------------
 There's a bug in condition_algorithm_8a<ConditionMembers>::wait
 In the beginning of the method it's using
 data.get_sem_block_lock().wait();

 This may cause the wait to wait forever, even if you're using the timed
 wait version of the method.

 Happens to me when a "Client" process holds the lock and then dies, this
 causes the wait() to wait forever.
 What should have happened, is the it would time out, and then i could
 detect the failure, and do something about it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12045>
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:19 UTC