47#define SCHED_ADAPTIVE 1
48#define SCHED_GEDF_NP 2
128#warning "string typedef has been previously given."
240 tag_t last_known_status_tag;
282#if !defined(LF_SINGLE_THREADED)
286#if defined(MODAL_REACTORS)
287 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:259
struct allocation_record_t * next
Definition lf_types.h:261
void * allocated
Definition lf_types.h:260
Execution environment. This struct contains information about the execution environment....
Definition environment.h:69
Definition lf_types.h:198
trigger_t * trigger
Definition lf_types.h:200
pqueue_tag_element_t base
Definition lf_types.h:199
lf_token_t * token
Definition lf_types.h:201
Definition lf_types.h:297
token_template_t tmplt
Definition lf_types.h:298
bool is_present
Definition lf_types.h:299
bool has_value
Definition lf_types.h:302
trigger_t * trigger
Definition lf_types.h:300
self_base_t * parent
Definition lf_types.h:301
Definition lf_types.h:308
trigger_t * trigger
Definition lf_types.h:309
Internal part of the port structs. HAS TO MATCH lf_port_base_t after tmplt and is_present.
Definition lf_types.h:316
self_base_t * source_reactor
Definition lf_types.h:320
int num_destinations
Definition lf_types.h:319
int destination_channel
Definition lf_types.h:318
lf_sparse_io_record_t * sparse_record
Definition lf_types.h:317
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
unsigned long long chain_id
Definition lf_types.h:161
bool ** output_produced
Definition lf_types.h:166
bool is_STP_violated
Definition lf_types.h:171
reaction_status_t status
Definition lf_types.h:169
reaction_function_t deadline_violation_handler
Definition lf_types.h:177
void * self
Definition lf_types.h:157
const char * name
Definition lf_types.h:187
index_t index
Definition lf_types.h:159
trigger_t *** triggers
Definition lf_types.h:168
reaction_function_t STP_handler
Definition lf_types.h:178
size_t worker_affinity
Definition lf_types.h:185
int * triggered_sizes
Definition lf_types.h:167
interval_t deadline
Definition lf_types.h:170
size_t pos
Definition lf_types.h:162
bool is_an_input_reaction
Definition lf_types.h:183
int number
Definition lf_types.h:158
size_t num_outputs
Definition lf_types.h:165
reaction_t * last_enabling_reaction
Definition lf_types.h:164
reactor_mode_t * mode
Definition lf_types.h:190
reaction_function_t function
Definition lf_types.h:156
The base type for all reactor self structs.
Definition lf_types.h:278
struct reaction_t * executing_reaction
Definition lf_types.h:280
environment_t * environment
Definition lf_types.h:281
struct allocation_record_t * allocations
Definition lf_types.h:279
void * reactor_mutex
Definition lf_types.h:283
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:210
interval_t period
Definition lf_types.h:216
reaction_t ** reactions
Definition lf_types.h:212
int number_of_reactions
Definition lf_types.h:213
tag_t last_tag
Definition lf_types.h:218
bool is_timer
Definition lf_types.h:214
token_template_t tmplt
Definition lf_types.h:211
reactor_mode_t * mode
Definition lf_types.h:237
lf_spacing_policy_t policy
Definition lf_types.h:220
port_status_t status
Definition lf_types.h:221
bool is_physical
Definition lf_types.h:217
interval_t offset
Definition lf_types.h:215
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