Re: [Boost-bugs] [Boost C++ Libraries] #11158: Pthread thread deadlock when faketime used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11158: Pthread thread deadlock when faketime used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-04 21:38:39


#11158: Pthread thread deadlock when faketime used
-------------------------------+----------------------
  Reporter: slobodyanukma@… | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by viboes):

 You can use


 {{{
 boost::this_thread::no_interruption_point::sleep_for(
 boost::chrono::seconds(1) );
 }}}



 which is not interruptible and so don't need the use of cv.

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