Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55683 - trunk/libs/regex/src
From: john_at_[hidden]
Date: 2009-08-20 06:43:46


Author: johnmaddock
Date: 2009-08-20 06:43:44 EDT (Thu, 20 Aug 2009)
New Revision: 55683
URL: http://svn.boost.org/trac/boost/changeset/55683

Log:
Apply patch from issue #3354.
Fixes #3354.
Text files modified:
   trunk/libs/regex/src/static_mutex.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/regex/src/static_mutex.cpp
==============================================================================
--- trunk/libs/regex/src/static_mutex.cpp (original)
+++ trunk/libs/regex/src/static_mutex.cpp 2009-08-20 06:43:44 EDT (Thu, 20 Aug 2009)
@@ -157,7 +157,7 @@
    {
        boost::call_once(static_mutex::m_once,&static_mutex::init);
       if(0 == m_plock)
- m_plock = new boost::recursive_mutex::scoped_lock(*static_mutex::m_pmutex, false);
+ m_plock = new boost::recursive_mutex::scoped_lock(*static_mutex::m_pmutex, boost::defer_lock);
       m_plock->lock();
       m_have_lock = true;
    }


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