reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
platform.h File Reference

Platform API for runtime plugins to use while sharing implementation source code and binaries with the core and with each other. More...

Go to the source code of this file.

Typedefs

typedef void * lf_platform_mutex_ptr_t
 Pointer to the platform-specific implementation of a mutex.

Functions

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.

Detailed Description

Platform API for runtime plugins to use while sharing implementation source code and binaries with the core and with each other.

Author
Peter Donovan