Contents

handleClose

Controls the open / close behavior of an IOService object (overrideable by subclasses).

Declaration

virtual void handleClose(
 IOService *forClient, 
 IOOptionBitsoptions );

Parameters

  • forClient:

    Designates the client of the provider requesting the close.

  • options:

    Options for the close, may be interpreted by the implementor of handleOpen.

Overview

IOService calls this method in its subclasses in response to the close method, so the subclass may implement the request. The default implementation provides single owner access to an IOService object via open. The object is locked via lockForArbitration before handleClose is called.

See Also

Miscellaneous