|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57924 - trunk/boost/thread/win32
From: anthony_at_[hidden]
Date: 2009-11-25 04:42:30
Author: anthonyw
Date: 2009-11-25 04:42:29 EST (Wed, 25 Nov 2009)
New Revision: 57924
URL: http://svn.boost.org/trac/boost/changeset/57924
Log:
Added a wait call to new call_once
Text files modified:
trunk/boost/thread/win32/once.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/thread/win32/once.hpp
==============================================================================
--- trunk/boost/thread/win32/once.hpp (original)
+++ trunk/boost/thread/win32/once.hpp 2009-11-25 04:42:29 EST (Wed, 25 Nov 2009)
@@ -156,7 +156,8 @@
continue;
}
}
-
+ BOOST_VERIFY(!::boost::detail::win32::WaitForSingleObject(
+ event_handle,::boost::detail::win32::infinite));
}
if(counted || throw_count)
{
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