Re: [Boost-bugs] [Boost C++ Libraries] #9355: boost::coroutine crash in base<void>::pull_coroutine_base<void> with multiple threads

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9355: boost::coroutine crash in base<void>::pull_coroutine_base<void> with multiple threads
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-13 09:11:38


#9355: boost::coroutine crash in base<void>::pull_coroutine_base<void> with
multiple threads
-------------------------------+----------------------------------------
  Reporter: craig@… | Owner: olli
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: coroutine
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: pull_coroutine_base; crash
-------------------------------+----------------------------------------

Comment (by Craig Hutchinson <craig@…>):

 A simpler solution is to put the static into global scope it would appear
 so that the data is obtained prior to co-routine constructors. It works,
 and I think to get a race condition on a global static isn't really ever
 going to happen unless somebody created lots of global static threads too
 which would be sort of silly.

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