Contents

dispatchTimerEvents

Called by timerFired() to cause the timer event callbacks to be called.

Declaration

virtual void dispatchTimerEvents(
 boolforce);

Parameters

  • force:

    A bool param to allow the timer events to be dispatched even if the device is in the kIOAudioDeviceSleep power state.

Overview

This method iterates through all of the timer event targets and calls the callback on each. Unless the force flag is set to true, the timer events will only be dispatched if the power state is not kIOAudioDeviceSleep. This prevents unexpected timer firings while making wake->sleep->wake transitions. This function must be called on the IOWorkLoop.

See Also

Miscellaneous