Re: [Boost-bugs] [Boost C++ Libraries] #5673: Quick allocator error in multi thread

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5673: Quick allocator error in multi thread
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-24 15:41:43


#5673: Quick allocator error in multi thread
-----------------------------------------------------+----------------------
  Reporter: Yury Podpruzhnikov <QWERTYura@…> | Owner: pdimov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------+----------------------

Comment (by f@…):

 Hi, why does this global_mutex minimize the problem?

 Now thread A gets until gloabal_mutex init pm and then sleeps. During that
 time thread B goes to global_mutex and will get e.g. NULL and crash.

 Am I missing something?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5673#comment:2>
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:07 UTC