reactor-c
C Runtime for Lingua Franca
|
Functions | |
int | map_priorities (int priority, int dest_min, int dest_max) |
Maps a priority into a destination priority range. | |
int | lf_thread_id () |
Cross-platform version of the C11 thread_local keyword. | |
void | initialize_lf_thread_id () |
Initialize the thread ID for the current thread. | |
void initialize_lf_thread_id | ( | ) |
Initialize the thread ID for the current thread.
int lf_thread_id | ( | ) |
Cross-platform version of the C11 thread_local keyword.
The ID of the current thread. The only guarantee is that these IDs will be a contiguous range of numbers starting at 0.
int map_priorities | ( | int | priority, |
int | dest_min, | ||
int | dest_max ) |
Maps a priority into a destination priority range.