Function

CFRunLoopRemoveTimer

Removes a CFRunLoopTimer object from a run loop mode.

Declaration

void CFRunLoopRemoveTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode);

Parameters

rl

The run loop to modify.

timer

The run loop timer to remove.

mode

The run loop mode of rl from which to remove timer. Use the constant kCFRunLoopCommonModes to remove timer from the set of objects monitored by all the common modes.

Discussion

If rl does not contain timer in mode, this function does nothing.

See Also

Managing Timers

CFRunLoopAddTimer

Adds a CFRunLoopTimer object to a run loop mode.

CFRunLoopGetNextTimerFireDate

Returns the time at which the next timer will fire.

CFRunLoopContainsTimer

Returns a Boolean value that indicates whether a run loop mode contains a particular CFRunLoopTimer object.