You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows semaphores cap at 134 million permits #125
The Windows semaphore is created with a maximum count of 0x7FFFFFF (one F short of INT_MAX), so new Semaphore(200000000), or the 134,217,728th release, throws on Windows only. The native object also leaks when the constructor throws.
Activity
Allow semaphore counts up to INT_MAX on Windows