Re: [Boost-bugs] [Boost C++ Libraries] #2359: Static initialization problems with fast_pool_allocator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2359: Static initialization problems with fast_pool_allocator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-22 21:09:32


#2359: Static initialization problems with fast_pool_allocator
---------------------------+------------------------------------------------
  Reporter: cnewbold | Owner: cnewbold
      Type: Bugs | Status: new
 Milestone: Boost 1.37.0 | Component: pool
   Version: Boost 1.36.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment(by cnewbold):

 ''And finally...''

 Quite right. I now agree your suggested fix is completely sound.



 And, in fact, making your suggested fix re-orders the construction of the
 pool and allocator objects as expected. I tried the experiment with GCC
 4.1.2.



 The next step is for me to audit the remainder of the pool library and see
 if there are other clients of singleton_pool which are subject to the same
 potential failure mode.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2359#comment:3>
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:49:58 UTC