Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71569 - sandbox/block_ptr/boost
From: phil_at_[hidden]
Date: 2011-04-28 16:24:24


Author: pbouchard
Date: 2011-04-28 16:24:23 EDT (Thu, 28 Apr 2011)
New Revision: 71569
URL: http://svn.boost.org/trac/boost/changeset/71569

Log:
* Removed deadlock
Text files modified:
   sandbox/block_ptr/boost/block_ptr.hpp | 4 ----
   1 files changed, 0 insertions(+), 4 deletions(-)

Modified: sandbox/block_ptr/boost/block_ptr.hpp
==============================================================================
--- sandbox/block_ptr/boost/block_ptr.hpp (original)
+++ sandbox/block_ptr/boost/block_ptr.hpp 2011-04-28 16:24:23 EDT (Thu, 28 Apr 2011)
@@ -412,10 +412,6 @@
             if (p->init_)
                 return;
 
-#ifndef BOOST_DISABLE_THREADS
- mutex::scoped_lock scoped_lock(ps_->mutex_);
-#endif
-
                         // iterate memory blocks
             for (intrusive_list::iterator<block_base, & block_base::init_tag_> i = p->inits_.begin(); i != p->inits_.end(); ++ i)
             {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk