Browse Source

Merge pull request #4180 from RussWhitehead/semInit

HPCC-9056 Build break in thor (Windows)

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 years ago
parent
commit
b14d661850
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/jlib/jsem.hpp

+ 1 - 1
system/jlib/jsem.hpp

@@ -48,7 +48,7 @@ public:
         WaitForSingleObject(hSem, INFINITE);
     }
 
-    void reinit(unsigned initialCount)
+    void reinit(unsigned initialCount=0U)
     {
         CloseHandle(hSem);
         hSem = CreateSemaphore(NULL, initialCount, 0x7fffffff, NULL);