|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65526 - sandbox/SOC/2010/process/boost/process/detail
From: boris_at_[hidden]
Date: 2010-09-21 18:31:13
Author: bschaeling
Date: 2010-09-21 18:31:12 EDT (Tue, 21 Sep 2010)
New Revision: 65526
URL: http://svn.boost.org/trac/boost/changeset/65526
Log:
Fixed bug on Windows in boost::process::detail::basic_status_service when service must be shutdown
Text files modified:
sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp
==============================================================================
--- sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp (original)
+++ sandbox/SOC/2010/process/boost/process/detail/basic_status_service.hpp 2010-09-21 18:31:12 EDT (Tue, 21 Sep 2010)
@@ -154,6 +154,10 @@
private:
void shutdown_service()
{
+#if defined(BOOST_WINDOWS_API)
+ boost::unique_lock<boost::mutex> lock(work_thread_mutex_);
+ work_.reset();
+#endif
}
void work_thread()
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