reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1
9
15
21
27
35
43
45// The following is defined in low_level_platform.h, so ask Doxygen to ignore this.
46
53int lf_thread_id();
54
void lf_platform_mutex_free(lf_platform_mutex_ptr_t mutex)
Free all resources associated with the provided mutex.
int lf_platform_mutex_unlock(lf_platform_mutex_ptr_t mutex)
Release the given mutex.
lf_platform_mutex_ptr_t lf_platform_mutex_new()
Create a new mutex and return (a pointer to) it.
void * lf_platform_mutex_ptr_t
Pointer to the platform-specific implementation of a mutex.
Definition platform.h:14
int lf_platform_mutex_lock(lf_platform_mutex_ptr_t mutex)
Acquire the given mutex.
int lf_thread_id(void)
Return the ID of the current thread.