Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In CLRLifoSemaphore, start the underlying semaphore with 0 for the in…
…itial signal count - Port of a fix from dotnet/corert#6955 - The underlying semaphore is only used to wake up waiters, initially there are no waiters and the signal count should be zero. This was already the case on Windows, this fixes the Unix side. The actual initial signal count is tracked in the upper layer counts. - The initial signal count passed in is zero anyway in the places where it's used, so it makes no difference for now, just some cleanup
- Loading branch information