01
OSAllocatedUnfairLock: The Type-Safe Replacement for os_unfair_lock
SwiftConcurrencyLocks
OSAllocatedUnfairLock wraps os_unfair_lock with a closure-based API that makes it impossible to forget to unlock and keeps the lock's storage alive for as long as you need it.
READ_ARTICLE