Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80986 - trunk/boost/thread/win32
From: vicente.botet_at_[hidden]
Date: 2012-10-14 12:32:41


Author: viboes
Date: 2012-10-14 12:32:41 EDT (Sun, 14 Oct 2012)
New Revision: 80986
URL: http://svn.boost.org/trac/boost/changeset/80986

Log:
Thread: ref #7461
Text files modified:
   trunk/boost/thread/win32/condition_variable.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/thread/win32/condition_variable.hpp
==============================================================================
--- trunk/boost/thread/win32/condition_variable.hpp (original)
+++ trunk/boost/thread/win32/condition_variable.hpp 2012-10-14 12:32:41 EDT (Sun, 14 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