CFRunLoopScheduleCallBack

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

Declaration

typedef void (*CFRunLoopScheduleCallBack) (
   void *info,
   CFRunLoopRef rl,
   CFStringRef mode
);

Parameters

info

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

rl

The run loop in which the source is being scheduled.

mode

The run loop mode in which the source is being scheduled.

Overview

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).

CFRunLoopPerformCallBack

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