dispatch_semaphore_s
structdispatch_semaphore_s : struct {} Grand Central Dispatch semaphore, timing, and reference management bindings.
1 structs · 6 functions · Public API
dispatch_semaphore_s : struct {} dispatch_time : func(when : dispatch_time_t, delta : i64) -> dispatch_time_t dispatch_semaphore_create : func(value : i64) -> dispatch_semaphore_t dispatch_semaphore_wait : func(semaphore : dispatch_semaphore_t, timeout : dispatch_time_t) -> i64 dispatch_semaphore_signal : func(semaphore : dispatch_semaphore_t) -> i64 dispatch_retain : func(semaphore : dispatch_semaphore_t) dispatch_release : func(semaphore : dispatch_semaphore_t)