Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /main/branches/4.1/trunk/common/platform/unix/SysSemaphore.cpp [r8568] .. [r8569] Maximize Restore

  Switch to side-by-side view

--- a/main/branches/4.1/trunk/common/platform/unix/SysSemaphore.cpp
+++ b/main/branches/4.1/trunk/common/platform/unix/SysSemaphore.cpp
@@ -76,6 +76,9 @@
  */
 SysSemaphore::SysSemaphore(bool createSem)
 {
+    created = false;
+    postedCount = 0;
+
     if (createSem)
     {
         create();