RemoveFromRunLoop

Remove the CFRunLoopSource for the notification port from a run loop.

Declaration

IOReturn ( *RemoveFromRunLoop)(
   IOStreamRef stream,
   CFRunLoopRef runLoop );

Parameters

stream

The IOStreamRef of the stream to operate on.

runLoop

The run loop from which to remove the notification source.

Return Value

Returns kIOReturnSuccess if the source was successfully removed from the run loop.

See Also

Run loop operations

AddToRunLoop

Add the CFRunLoopSource for the notification port to a run loop.

GetRunLoopSource

Gets a CFRunLoopSource for the CFMachPort used for notifications from the kernel that data is ready.