32#define SUPPRESS_UNUSED_WARNING(x) (void)(x)
55#ifdef FEDERATED_DECENTRALIZED
A higher level API to the clock utilities provided by the platform API.
Type definitions that are widely used across different parts of the runtime.
#define lf_set_present(out)
Mark a port present.
Definition reaction_macros.h:48
void lf_set_stop_tag(environment_t *env, tag_t tag)
Set the stop tag if it is less than the stop tag of the specified environment.
Definition reactor_common.c:145
self_base_t * lf_new_reactor(size_t size)
Allocate memory for a new runtime instance of a reactor.
Definition reactor_common.c:112
void * lf_allocate(size_t count, size_t size, struct allocation_record_t **head)
Allocate memory and record on the specified allocation record (a self struct).
Definition reactor_common.c:90
void lf_free_reactor(self_base_t *self)
Free the specified reactor.
Definition reactor_common.c:129
void lf_print_snapshot(environment_t *env)
Print a snapshot of the priority queues used during execution (for debugging).
Definition reactor_threaded.c:928
void lf_request_stop(void)
Request a stop to execution as soon as possible.
Definition reactor_threaded.c:474
void lf_free_all_reactors(void)
Free all the reactors that are allocated with lf_new_reactor(size_t).
Definition reactor_common.c:134
bool lf_is_tag_after_stop_tag(environment_t *env, tag_t tag)
Return true if the provided tag is after stop tag.
Definition reactor_common.c:224
Definition lf_types.h:257
Execution environment. This struct contains information about the execution environment....
Definition environment.h:49
Base type for ports. Port structs are customized types because their payloads are type specific....
Definition lf_token.h:140
The base type for all reactor self structs.
Definition lf_types.h:276
Time and tag definitions and functions for Lingua Franca.
int64_t interval_t
Definition tag.h:68
Definitions of tracepoint functions for use with the C code generator and any other code generator th...