Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82128 - branches/release/boost/interprocess/sync/windows
From: igaztanaga_at_[hidden]
Date: 2012-12-20 16:53:51


Author: igaztanaga
Date: 2012-12-20 16:53:50 EST (Thu, 20 Dec 2012)
New Revision: 82128
URL: http://svn.boost.org/trac/boost/changeset/82128

Log:
Fix for experimental windows synchronization utility initialization
Text files modified:
   branches/release/boost/interprocess/sync/windows/sync_utils.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: branches/release/boost/interprocess/sync/windows/sync_utils.hpp
==============================================================================
--- branches/release/boost/interprocess/sync/windows/sync_utils.hpp (original)
+++ branches/release/boost/interprocess/sync/windows/sync_utils.hpp 2012-12-20 16:53:50 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