diff options
-rw-r--r-- | src/vm/synch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/synch.cpp b/src/vm/synch.cpp index 13f6ff3d28..55d42d73f5 100644 --- a/src/vm/synch.cpp +++ b/src/vm/synch.cpp @@ -589,7 +589,7 @@ void CLRLifoSemaphore::Create(INT32 initialSignalCount, INT32 maximumSignalCount _ASSERTE(m_handle == nullptr); #ifdef FEATURE_PAL - HANDLE h = UnsafeCreateSemaphore(nullptr, initialSignalCount, maximumSignalCount, nullptr); + HANDLE h = UnsafeCreateSemaphore(nullptr, 0, maximumSignalCount, nullptr); #else // !FEATURE_PAL HANDLE h = CreateIoCompletionPort(INVALID_HANDLE_VALUE, nullptr, 0, maximumSignalCount); #endif // FEATURE_PAL |