Copyright ã1995 by NeXT Computer, Inc.  All Rights Reserved.

IOEventThread

Adopted By:	The event system

Declared In:	driverkit/eventProtocols.h

Protocol Description

The IOEventThread protocol provides access to the event system's I/O thread. You can obtain an IOEventThread-compliant object from IOEventSource's owner method.

Method Types

Sending messages	- sendIOThreadAsyncMsg:to:with:
- sendIOThreadMsg:to:with:

Instance Methods

sendIOThreadAsyncMsg:to:with:

- (IOReturn)sendIOThreadAsyncMsg:(id)instance 
to:(SEL)selector 
with:(id)data 

From the event system's I/O thread, sends the message specified by selector to instance, with the argument data. This method doesn't wait for the selector method to be called, and doesn't detect whether selector is a valid method of instance. Returns IO_R_IPC_FAILURE if an error occurred; otherwise, returns IO_R_SUCCESS.

See also:  - sendIOThreadMsg:to:with:

sendIOThreadMsg:to:with:

- (IOReturn)sendIOThreadMsg:(id)instance 
to:(SEL)selector 
with:(id)data 

From the event system's I/O thread, sends the message specified by selector to instance, with the argument data. This method waits until the selector method has returned. Returns IO_R_IPC_FAILURE if the message couldn't be sent; otherwise, returns IO_R_SUCCESS.

See also:  - sendIOThreadAsyncMsg:to:with: