Contents

waitQuiet

Waits for an IOService object's busyState to be zero.

Declaration

IOReturn waitQuiet(
 uint64_t timeout = timeout);

Parameters

  • timeout:

    The maximum time to wait in nanoseconds. Default is to wait forever.

Return Value

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

Overview

Blocks the caller until an IOService object is non busy.

See Also

Miscellaneous