---
title: "wakeAtTime(UInt32, UInt32)"
framework: kernel
role: pseudoSymbol
path: kernel/iotimereventsource/1809694-wakeattime
---

# wakeAtTime(UInt32, UInt32)

Setup a callback at this absolute time. See wakeAtTime(AbsoluteTime).

## Declaration

```occ
virtual IOReturn wakeAtTime(
 UInt32abstime, 
 UInt32 scale_factor = scale_factor); 
```

## Parameters

- `abstime`: Time to wake up in some unit.
- `scale_factor`: Define the unit of abstime, default to nanoseconds.

## Return Value

Return Value kIOReturnSuccess if everything is fine, kIOReturnNoResources if action hasn't been declared.

## See Also

### Miscellaneous

- [cancelTimeout](kernel/iotimereventsource/1809565-canceltimeout.md)
- [disable](kernel/iotimereventsource/1809571-disable.md)
- [enable](kernel/iotimereventsource/1809577-enable.md)
- [free](kernel/iotimereventsource/1809588-free.md)
- [init](kernel/iotimereventsource/1809597-init.md)
- [setTimeout(AbsoluteTime)](kernel/iotimereventsource/1809607-settimeout.md)
- [setTimeout(UInt32, UInt32)](kernel/iotimereventsource/1809617-settimeout.md)
- [setTimeoutFunc](kernel/iotimereventsource/1809624-settimeoutfunc.md)
- [setTimeoutMS](kernel/iotimereventsource/1809629-settimeoutms.md)
- [setTimeoutTicks](kernel/iotimereventsource/1809639-settimeoutticks.md)
- [setTimeoutUS](kernel/iotimereventsource/1809649-settimeoutus.md)
- [timeout](kernel/iotimereventsource/1809663-timeout.md)
- [timerEventSource](kernel/iotimereventsource/1809672-timereventsource.md)
- [wakeAtTime(AbsoluteTime)](kernel/iotimereventsource/1809684-wakeattime.md)
- [wakeAtTimeMS](kernel/iotimereventsource/1809708-wakeattimems.md)
- [wakeAtTimeTicks](kernel/iotimereventsource/1809720-wakeattimeticks.md)
- [wakeAtTimeUS](kernel/iotimereventsource/1809737-wakeattimeus.md)
