reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
reactor_threaded.h
Go to the documentation of this file.
1
10#ifndef REACTOR_THREADED_H
11#define REACTOR_THREADED_H
12
13#include "lf_types.h"
14
21
51void _lf_increment_tag_barrier(environment_t* env, tag_t future_tag);
52
64
80
81int _lf_wait_on_tag_barrier(environment_t* env, tag_t proposed_tag);
83
110bool wait_until(instant_t wait_until_time, lf_cond_t* condition);
111
113tag_t send_next_event_tag(environment_t* env, tag_t tag, bool wait_for_reply);
115#endif // REACTOR_THREADED_H
Type definitions that are widely used across different parts of the runtime.
void _lf_increment_tag_barrier_locked(environment_t *env, tag_t future_tag)
Version of _lf_increment_tag_barrier to call when the caller holds the mutex. This version does not a...
Definition reactor_threaded.c:50
void lf_synchronize_with_other_federates(void)
int _lf_wait_on_tag_barrier(environment_t *env, tag_t proposed_tag)
Definition reactor_threaded.c:139
void _lf_decrement_tag_barrier_locked(environment_t *env)
Definition reactor_threaded.c:99
tag_t send_next_event_tag(environment_t *env, tag_t tag, bool wait_for_reply)
Definition reactor_threaded.c:278
bool wait_until(instant_t wait_until_time, lf_cond_t *condition)
Wait until physical time matches or exceeds the time of the specified tag.
Definition reactor_threaded.c:197
tag_t get_next_event_tag(environment_t *env)
Definition reactor_threaded.c:236
void _lf_increment_tag_barrier(environment_t *env, tag_t future_tag)
Definition reactor_threaded.c:92
void _lf_next_locked(environment_t *env)
Definition reactor_threaded.c:310
void lf_enqueue_port_absent_reactions(environment_t *env)
Execution environment. This struct contains information about the execution environment....
Definition environment.h:49
Definition lf_POSIX_threads_support.h:41
Definition tag.h:81
int64_t instant_t
Definition tag.h:66