Re: [Boost-bugs] [Boost C++ Libraries] #9654: try_join_for(0) returns false when thread has exited

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9654: try_join_for(0) returns false when thread has exited
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-13 08:59:03


#9654: try_join_for(0) returns false when thread has exited
-------------------------------+------------------------
  Reporter: ernest.galbrun@… | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.55.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by ernest.galbrun@…):

 Apparently it is caused by a previous bug fix:
 https://svn.boost.org/trac/boost/ticket/8323

 Now try_join_for returns false immediatly if the current time is >= to the
 finish time.

 It should, I think, check at least once if the thread has completed before
 returning false. I'm not sure how to do that, that's the point of calling
 try_join_for(0).

 Is there a reason why there is no try_join() function ?

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