Skyward boardcore
|
Functions | |
void | sleepUntil (long long absoluteTimeMs) |
Sleep until a given time in milliseconds. | |
miosix::TimedWaitResult | IRQenableIrqAndTimedWaitMs (miosix::FastInterruptDisableLock &dLock, long long absoluteTimeMs) |
Stops the thread until wakeup() is called or the specified absolute time in milliseconds is reached. | |
|
inline |
Stops the thread until wakeup() is called or the specified absolute time in milliseconds is reached.
Converts the given time in milliseconds to nanoseconds and calls miosix::Thread::IRQenableIrqAndTimedWait().
absoluteTimeMs | Absolute time after which the wait times out |
Definition at line 87 of file KernelTime.h.
|
inline |
Sleep until a given time in milliseconds.
Converts the given time in milliseconds to nanoseconds and calls miosix::Thread::nanoSleepUntil().
absoluteTimeMs | The timestamp in milliseconds to sleep until. |
Definition at line 69 of file KernelTime.h.