Contents

IOKitWaitQuiet(_:_:)

Wait for a all IOServices' busyState to be zero.

Declaration

func IOKitWaitQuiet(_ mainPort: mach_port_t, _ waitTime: UnsafeMutablePointer<mach_timespec_t>!) -> kern_return_t

Parameters

Return Value

Returns an error code if mach synchronization primitives fail, kIOReturnTimeout, or kIOReturnSuccess.

Discussion

Blocks the caller until all IOServices are non busy, see IOKitGetBusyState(_:_:).

See Also

Miscellaneous