| 111 | } |
| 112 | |
| 113 | void OSSetPeriodicAlarm(OSAlarm* alarm, OSTime start, OSTime period, OSAlarmHandler handler) |
| 114 | { |
| 115 | BOOL enabled; |
| 116 | enabled = OSDisableInterrupts(); |
| 117 | alarm->period = period; |
| 118 | alarm->start = __OSTimeToSystemTime(start); |
| 119 | InsertAlarm(alarm, 0, handler); |
| 120 | OSRestoreInterrupts(enabled); |
| 121 | } |
| 122 | |
| 123 | void OSCancelAlarm(OSAlarm* alarm) |
| 124 | { |
nothing calls this directly
no test coverage detected