Commit c773c32
Add AutoReleasingSemaphore (#30)
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.1 parent d132096 commit c773c32
File tree
3 files changed
+382
-210
lines changed- Concurrency.xcodeproj
- Sources/Concurrency
- Tests/ConcurrencyTests
3 files changed
+382
-210
lines changed
0 commit comments