platform.macos.dispatch

Grand Central Dispatch semaphore, timing, and reference management bindings.

1 structs · 6 functions · Public API

Structs

Functions

dispatch_time

func
dispatch_time : func(when : dispatch_time_t, delta : i64) -> dispatch_time_t

dispatch_semaphore_wait

func
dispatch_semaphore_wait : func(semaphore : dispatch_semaphore_t, timeout : dispatch_time_t) -> i64

dispatch_retain

func
dispatch_retain : func(semaphore : dispatch_semaphore_t)

dispatch_release

func
dispatch_release : func(semaphore : dispatch_semaphore_t)