Boost logo

Boost-Commit :

From: igaztanaga_at_[hidden]
Date: 2008-06-15 14:47:11


Author: igaztanaga
Date: 2008-06-15 14:47:11 EDT (Sun, 15 Jun 2008)
New Revision: 46412
URL: http://svn.boost.org/trac/boost/changeset/46412

Log:
Solved 'external_unlock' was not declared in this scope for gcc
Text files modified:
   trunk/boost/interprocess/sync/named_condition.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/interprocess/sync/named_condition.hpp
==============================================================================
--- trunk/boost/interprocess/sync/named_condition.hpp (original)
+++ trunk/boost/interprocess/sync/named_condition.hpp 2008-06-15 14:47:11 EDT (Sun, 15 Jun 2008)
@@ -162,7 +162,7 @@
    {
       //lock internal before unlocking external to avoid race with a notifier
       scoped_lock<interprocess_mutex> internal_lock(*this->mutex(), abs_time);
- if(!external_unlock) return false;
+ if(!internal_lock) return false;
       lock_inverter<Lock> inverted_lock(lock);
       scoped_lock<lock_inverter<Lock> > external_unlock(inverted_lock);
 


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