reactor-c
1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
clock.h
Go to the documentation of this file.
1
12
13
#ifndef CLOCK_H
14
#define CLOCK_H
15
16
#include "
low_level_platform.h
"
17
29
int
lf_clock_interruptable_sleep_until_locked
(
environment_t
* env,
instant_t
wakeup_time);
30
41
int
lf_clock_gettime
(
instant_t
* now);
42
43
#if !defined(LF_SINGLE_THREADED)
56
int
lf_clock_cond_timedwait
(lf_cond_t* cond,
instant_t
wakeup_time);
57
#endif
58
59
#endif
instant_t
int64_t instant_t
Time instant.
Definition
tag.h:101
lf_clock_cond_timedwait
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 reach...
lf_clock_interruptable_sleep_until_locked
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...
lf_clock_gettime
int lf_clock_gettime(instant_t *now)
Retrieve the current physical time from the platform API.
low_level_platform.h
Platform API support for the C target of Lingua Franca.
environment_t
Execution environment.
Definition
environment.h:52
Users
runner
work
reactor-c
reactor-c
include
core
clock.h
Generated on
for reactor-c by
1.14.0