|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82127 - trunk/boost/interprocess/sync/windows
From: igaztanaga_at_[hidden]
Date: 2012-12-20 16:52:33
Author: igaztanaga
Date: 2012-12-20 16:52:33 EST (Thu, 20 Dec 2012)
New Revision: 82127
URL: http://svn.boost.org/trac/boost/changeset/82127
Log:
Fix for experimental windows synchronization utility initialization
Text files modified:
trunk/boost/interprocess/sync/windows/sync_utils.hpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/boost/interprocess/sync/windows/sync_utils.hpp
==============================================================================
--- trunk/boost/interprocess/sync/windows/sync_utils.hpp (original)
+++ trunk/boost/interprocess/sync/windows/sync_utils.hpp 2012-12-20 16:52:33 EST (Thu, 20 Dec 2012)
@@ -168,6 +168,9 @@
hnd_val = open_or_create_mutex(id);
if(popen_created) *popen_created = true;
}
+ else if(popen_created){
+ *popen_created = false;
+ }
return hnd_val;
}
@@ -182,6 +185,9 @@
hnd_val = open_or_create_semaphore(id, initial_count);
if(popen_created) *popen_created = true;
}
+ else if(popen_created){
+ *popen_created = false;
+ }
return hnd_val;
}
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