![]() |
reactor-c 1.0
C Runtime for Lingua Franca
|
A higher level API to the clock utilities provided by the platform API. More...
#include "low_level_platform.h"Go to the source code of this file.
Functions | |
| int | lf_clock_cond_timedwait (lf_cond_t *cond, instant_t wakeup_time) |
| Block the calling thread on the condition variable until it is signaled or until wakeup_time is reached. | |
| int | lf_clock_gettime (instant_t *now) |
| Retrieve the current physical time from the platform API. | |
| int | lf_clock_interruptable_sleep_until_locked (environment_t *env, instant_t wakeup_time) |
| Block the calling thread until wakeup_time is reached or the thread is interrupted by an asynchronous scheduling. | |
A higher level API to the clock utilities provided by the platform API.
This builds on top of the clocking API of the different platforms and ensures: