reactor-c
C Runtime for Lingua Franca
|
A variant of the platform abstraction whose ABI is platform-independent. More...
Functions | |
lf_platform_mutex_ptr_t | lf_platform_mutex_new () |
Create a new mutex and return (a pointer to) it. | |
void | lf_platform_mutex_free (lf_platform_mutex_ptr_t mutex) |
Free all resources associated with the provided mutex. | |
int | lf_platform_mutex_lock (lf_platform_mutex_ptr_t mutex) |
Acquire the given mutex. | |
int | lf_platform_mutex_unlock (lf_platform_mutex_ptr_t mutex) |
Release the given mutex. | |
A variant of the platform abstraction whose ABI is platform-independent.
void lf_platform_mutex_free | ( | lf_platform_mutex_ptr_t | mutex | ) |
Free all resources associated with the provided mutex.
int lf_platform_mutex_lock | ( | lf_platform_mutex_ptr_t | mutex | ) |
Acquire the given mutex.
lf_platform_mutex_ptr_t lf_platform_mutex_new | ( | ) |
Create a new mutex and return (a pointer to) it.
int lf_platform_mutex_unlock | ( | lf_platform_mutex_ptr_t | mutex | ) |
Release the given mutex.