45#if defined(PLATFORM_ARDUINO)
47#elif defined(PLATFORM_ZEPHYR)
49#elif defined(PLATFORM_NRF52)
51#elif defined(PLATFORM_RP2040)
53#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
65#elif defined(_POSIX_VERSION)
68#elif defined(__riscv) || defined(__riscv__)
70#error "RISC-V not supported"
72#error "Platform not supported"
78#define LF_SCHED_MAX_PRIORITY 99
79#define LF_SCHED_MIN_PRIORITY 0
83#if defined(LF_SINGLE_THREADED)
256#if __STDC_VERSION__ >= 201112 && !defined __STDC_NO_THREADS__
257#define thread_local _Thread_local
258#elif defined _WIN32 && (defined _MSC_VER || defined __ICL || defined __DMC__ || defined __BORLANDC__)
259#define thread_local __declspec(thread)
261#elif defined __GNUC__ || defined __SUNPRO_C || defined __xlC__
262#define thread_local __thread
264#error "Cannot define thread_local"
320#define DEPRECATED(X) X __attribute__((deprecated))
321#elif defined(_MSC_VER)
322#define DEPRECATED(X) __declspec(deprecated) X
324#define DEPRECATED(X) X
return address
Definition hashmap.h:74
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:69
lf_mutex_t mutex
Definition environment.h:101
Definition lf_POSIX_threads_support.h:41
Definition low_level_platform.h:152
interval_t time_slice
Definition low_level_platform.h:155
lf_scheduling_policy_type_t policy
Definition low_level_platform.h:153
int priority
Definition low_level_platform.h:154
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