Contents

requestTerminate

Passes a termination up the stack.

Declaration

virtual bool requestTerminate(
 IOService *provider,
 IOOptionBitsoptions );

Parameters

  • provider:

    The terminated provider of this object.

  • options:

    Options originally passed to terminate, plus kIOServiceRecursing.

Return Value

true if this object should be terminated now that its provider has been.

Overview

When an IOService is made inactive the default behavior is to also make any of its clients that have it as their only provider also inactive, in this way recursing the termination up the driver stack. This method allows an IOService object to override this behavior. Returning true from this method when passed a just terminated provider will cause the client to also be terminated.

See Also

Miscellaneous