45#if defined(PLATFORM_ARDUINO)
47#elif defined(PLATFORM_ZEPHYR)
49#elif defined(PLATFORM_NRF52)
51#elif defined(PLATFORM_PATMOS)
53#elif defined(PLATFORM_RP2040)
55#elif defined(PLATFORM_FLEXPRET)
57#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
69#elif defined(_POSIX_VERSION)
72#elif defined(__riscv) || defined(__riscv__)
74#error "RISC-V not supported"
76#error "Platform not supported"
82#define LF_SCHED_MAX_PRIORITY 99
83#define LF_SCHED_MIN_PRIORITY 0
87#if defined(LF_SINGLE_THREADED)
93int lf_disable_interrupts_nested();
98int lf_enable_interrupts_nested();
104int _lf_single_threaded_notify_of_event();
260#if __STDC_VERSION__ >= 201112 && !defined __STDC_NO_THREADS__
261#define thread_local _Thread_local
262#elif defined _WIN32 && (defined _MSC_VER || defined __ICL || defined __DMC__ || defined __BORLANDC__)
263#define thread_local __declspec(thread)
265#elif defined __GNUC__ || defined __SUNPRO_C || defined __xlC__
266#define thread_local __thread
268#error "Cannot define thread_local"
324#define DEPRECATED(X) X __attribute__((deprecated))
325#elif defined(_MSC_VER)
326#define DEPRECATED(X) __declspec(deprecated) X
328#define DEPRECATED(X) X
void * lf_thread_t
Definition lf_arduino_support.h:120
void * lf_mutex_t
Definition lf_arduino_support.h:118
Execution environment. This struct contains information about the execution environment....
Definition environment.h:49
lf_mutex_t mutex
Definition environment.h:81
Definition lf_POSIX_threads_support.h:41
Definition low_level_platform.h:156
interval_t time_slice
Definition low_level_platform.h:159
lf_scheduling_policy_type_t policy
Definition low_level_platform.h:157
int priority
Definition low_level_platform.h:158
Time and tag definitions and functions for Lingua Franca.
int64_t instant_t
Definition tag.h:63
int64_t interval_t
Definition tag.h:68