CFRunLoopPerformCallBack

Callback invoked when a message is received on a version 0 CFRunLoopSource object.

Declaration

typedef void (*CFRunLoopPerformCallBack) (
   void *info
);

Parameters

info

The info member of the CFRunLoopSourceContext structure that was used when creating the run loop source.

Overview

You only need to provide this callback if you create your own version 0 run loop source. CFSocket run loop sources already implement this callback to forward the received message to the CFSocket’s own callback function, which you do need to implement.

You specify this callback in the CFRunLoopSourceContext structure when creating the run loop source.

See Also

Callbacks

CFRunLoopCancelCallBack

Callback invoked when a version 0 CFRunLoopSource object is removed from a run loop mode.

CFRunLoopEqualCallBack

Callback invoked to test two CFRunLoopSource objects for equality.

CFRunLoopGetPortCallBack

Callback invoked to obtain the native Mach port represented by a version 1 CFRunLoopSource object.

CFRunLoopHashCallBack

Callback invoked to compute a hash code for the info pointer of a CFRunLoopSource object.

CFRunLoopMachPerformCallBack

Callback invoked to process and optionally reply to a message received on a version 1 CFRunLoopSource object (Mach port-based sources).

CFRunLoopScheduleCallBack

Callback invoked when a version 0 CFRunLoopSource object is added to a run loop mode.