47#define SCHED_ADAPTIVE 1
48#define SCHED_GEDF_NP 2
128#warning "string typedef has been previously given."
238 tag_t last_known_status_tag;
280#if !defined(LF_SINGLE_THREADED)
284#if defined(MODAL_REACTORS)
285 reactor_mode_state_t _lf__mode_state;
Definitions for token objects, reference-counted wrappers around dynamically-allocated messages.
lf_spacing_policy_t
Definition lf_types.h:81
@ drop
Definition lf_types.h:81
@ defer
Definition lf_types.h:81
@ replace
Definition lf_types.h:81
void(* reaction_function_t)(void *)
Definition lf_types.h:139
int trigger_handle_t
Definition lf_types.h:117
unsigned short int ushort
Definition lf_types.h:36
struct allocation_record_t allocation_record_t
pqueue_pri_t index_t
Definition lf_types.h:132
char * string
Definition lf_types.h:126
struct self_base_t self_base_t
The base type for all reactor self structs.
reaction_status_t
Definition lf_types.h:109
@ inactive
Definition lf_types.h:109
@ queued
Definition lf_types.h:109
@ running
Definition lf_types.h:109
port_status_t
Definition lf_types.h:95
@ absent
Definition lf_types.h:95
@ unknown
Definition lf_types.h:95
@ present
Definition lf_types.h:95
struct _lf_tag_advancement_barrier _lf_tag_advancement_barrier
void reactor_mode_t
Definition modes.h:142
Priority queue definitions for queues where the priority is a number that can be compared with ordina...
unsigned long long pqueue_pri_t
Definition pqueue_base.h:52
Priority queue that uses tags for sorting.
int requestors
Definition lf_types.h:59
tag_t horizon
Definition lf_types.h:63
Definition lf_types.h:257
struct allocation_record_t * next
Definition lf_types.h:259
void * allocated
Definition lf_types.h:258
Execution environment. This struct contains information about the execution environment....
Definition environment.h:49
Definition lf_types.h:196
trigger_t * trigger
Definition lf_types.h:198
pqueue_tag_element_t base
Definition lf_types.h:197
lf_token_t * token
Definition lf_types.h:199
Definition lf_types.h:295
token_template_t tmplt
Definition lf_types.h:296
bool is_present
Definition lf_types.h:297
bool has_value
Definition lf_types.h:300
trigger_t * trigger
Definition lf_types.h:298
self_base_t * parent
Definition lf_types.h:299
int source_id
Definition lf_types.h:301
Definition lf_types.h:307
trigger_t * trigger
Definition lf_types.h:308
Internal part of the port structs. HAS TO MATCH lf_port_base_t after tmplt and is_present.
Definition lf_types.h:315
self_base_t * source_reactor
Definition lf_types.h:319
int num_destinations
Definition lf_types.h:318
int destination_channel
Definition lf_types.h:317
lf_sparse_io_record_t * sparse_record
Definition lf_types.h:316
Definition lf_token.h:110
The type for an element in a priority queue that is sorted by tag.
Definition pqueue_tag.h:52
Definition lf_types.h:155
bool ** output_produced
Definition lf_types.h:164
bool is_STP_violated
Definition lf_types.h:169
reaction_status_t status
Definition lf_types.h:167
reaction_function_t deadline_violation_handler
Definition lf_types.h:175
void * self
Definition lf_types.h:157
const char * name
Definition lf_types.h:185
index_t index
Definition lf_types.h:159
trigger_t *** triggers
Definition lf_types.h:166
reaction_function_t STP_handler
Definition lf_types.h:176
size_t worker_affinity
Definition lf_types.h:183
int * triggered_sizes
Definition lf_types.h:165
interval_t deadline
Definition lf_types.h:168
size_t pos
Definition lf_types.h:160
bool is_an_input_reaction
Definition lf_types.h:181
int number
Definition lf_types.h:158
size_t num_outputs
Definition lf_types.h:163
reaction_t * last_enabling_reaction
Definition lf_types.h:162
reactor_mode_t * mode
Definition lf_types.h:188
reaction_function_t function
Definition lf_types.h:156
The base type for all reactor self structs.
Definition lf_types.h:276
struct reaction_t * executing_reaction
Definition lf_types.h:278
environment_t * environment
Definition lf_types.h:279
struct allocation_record_t * allocations
Definition lf_types.h:277
void * reactor_mutex
Definition lf_types.h:281
Base type for ports (lf_port_base_t) and actions (trigger_t), which can carry tokens....
Definition lf_token.h:121
Definition lf_types.h:208
interval_t period
Definition lf_types.h:214
reaction_t ** reactions
Definition lf_types.h:210
int number_of_reactions
Definition lf_types.h:211
tag_t last_tag
Definition lf_types.h:216
bool is_timer
Definition lf_types.h:212
token_template_t tmplt
Definition lf_types.h:209
reactor_mode_t * mode
Definition lf_types.h:235
lf_spacing_policy_t policy
Definition lf_types.h:218
port_status_t status
Definition lf_types.h:219
bool is_physical
Definition lf_types.h:215
interval_t offset
Definition lf_types.h:213
Time and tag definitions and functions for Lingua Franca.
int64_t instant_t
Definition tag.h:66
int64_t interval_t
Definition tag.h:71