Re: [Boost-bugs] [Boost C++ Libraries] #4345: thread::id and joining problem with cascade of threads

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4345: thread::id and joining problem with cascade of threads
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-15 21:31:19


#4345: thread::id and joining problem with cascade of threads
----------------------------------------------------------+-----------------
 Reporter: bartek szurgot <bartosz.szurgot@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: thread
  Version: Boost 1.43.0 | Severity: Problem
 Keywords: |
----------------------------------------------------------+-----------------

Comment(by anonymous):

 g_count is not protected against race conditions. You should use an atomic
 integer or use a mutext to protect g_count.

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