Static Methodnmggithub.kass 3.2.4MachCore
wait(forSemaphore:thenSignalSemaphore:timeout:)
Atomically waits for one semaphore and signals another.
static func wait(forSemaphore waitSemaphore: Semaphore, thenSignalSemaphore signalSemaphore: Semaphore, timeout: mach_timespec_t? = nil) throws