Skip to content

Conversation

@neakor
Copy link
Contributor

@neakor neakor commented Feb 20, 2019

Similar to DispatchSemaphore, AutoReleasingSemaphore is a synchronization mechanism that ensures only a set number of threads can concurrently access a protected resource. Unlike DispatchSemaphore, AutoReleasingSemaphore auto-releases all blocked threads when the semaphore itself is deallocated.

Similar to `DispatchSemaphore`, `AutoReleasingSemaphore` is a synchronization mechanism that ensures only a set number of threads can concurrently access a protected resource. Unlike `DispatchSemaphore`, `AutoReleasingSemaphore` auto-releases all blocked threads when the semaphore itself is deallocated.
@rudro rudro merged commit c773c32 into master Feb 20, 2019
@rudro rudro deleted the auto_releasing_semaphore branch February 20, 2019 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants