$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r55483 - branches/release/boost/interprocess/sync/emulation
From: igaztanaga_at_[hidden]
Date: 2009-08-09 04:20:31
Author: igaztanaga
Date: 2009-08-09 04:20:30 EDT (Sun, 09 Aug 2009)
New Revision: 55483
URL: http://svn.boost.org/trac/boost/changeset/55483
Log:
Fixed deadlock problem
Text files modified: 
   branches/release/boost/interprocess/sync/emulation/interprocess_semaphore.hpp |     4 +---                                    
   1 files changed, 1 insertions(+), 3 deletions(-)
Modified: branches/release/boost/interprocess/sync/emulation/interprocess_semaphore.hpp
==============================================================================
--- branches/release/boost/interprocess/sync/emulation/interprocess_semaphore.hpp	(original)
+++ branches/release/boost/interprocess/sync/emulation/interprocess_semaphore.hpp	2009-08-09 04:20:30 EDT (Sun, 09 Aug 2009)
@@ -29,9 +29,7 @@
 inline void interprocess_semaphore::post()
 {
    scoped_lock<interprocess_mutex> lock(m_mut);
-   if(m_count == 0){
-      m_cond.notify_one();
-   }
+   m_cond.notify_one();
    ++m_count;
 }