Contents

wakeAtTime(AbsoluteTime)

Setup a callback at this absolute time.

Declaration

virtual IOReturn wakeAtTime(
 AbsoluteTimeabstime);

Parameters

  • abstime:

    Absolute Time when to wake up, counted in 'decrementer' units and starts at zero when system boots.

Return Value

kIOReturnSuccess if everything is fine, kIOReturnNoResources if action hasn't been declared by init or IOEventSource::setAction (qqv).

Overview

Starts the timer, which will expire at abstime. After it expires, the timer will call the 'action' registered in the init() function. This timer is not periodic, a further call is needed to reset and restart the timer after it expires.

See Also

Miscellaneous