Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81024 - branches/release/boost/thread/win32
From: vicente.botet_at_[hidden]
Date: 2012-10-20 11:19:13


Author: viboes
Date: 2012-10-20 11:19:13 EDT (Sat, 20 Oct 2012)
New Revision: 81024
URL: http://svn.boost.org/trac/boost/changeset/81024

Log:
Thread: merge 80986
Text files modified:
   branches/release/boost/thread/win32/condition_variable.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: branches/release/boost/thread/win32/condition_variable.hpp
==============================================================================
--- branches/release/boost/thread/win32/condition_variable.hpp (original)
+++ branches/release/boost/thread/win32/condition_variable.hpp 2012-10-20 11:19:13 EDT (Sat, 20 Oct 2012)
@@ -195,7 +195,10 @@
 
                 ~entry_manager()
                 {
+ if(! entry->is_notified())
+ {
                     entry->remove_waiter();
+ }
                 }
 
                 list_entry* operator->()


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