reactor-c
C Runtime for Lingua Franca
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
e
f
g
h
i
l
m
n
p
r
s
t
x
Functions
Variables
a
c
e
f
h
i
l
m
n
p
r
s
t
x
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
Typedefs
_
a
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
Enumerations
Enumerator
_
a
d
f
i
l
n
p
q
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1
11
15
typedef
void
*
lf_platform_mutex_ptr_t
;
19
lf_platform_mutex_ptr_t
lf_platform_mutex_new
();
23
void
lf_platform_mutex_free
(
lf_platform_mutex_ptr_t
mutex);
29
int
lf_platform_mutex_lock
(
lf_platform_mutex_ptr_t
mutex);
35
int
lf_platform_mutex_unlock
(
lf_platform_mutex_ptr_t
mutex);
36
41
int
lf_thread_id
();
lf_platform_mutex_free
void lf_platform_mutex_free(lf_platform_mutex_ptr_t mutex)
Free all resources associated with the provided mutex.
Definition
platform.c:25
lf_platform_mutex_unlock
int lf_platform_mutex_unlock(lf_platform_mutex_ptr_t mutex)
Release the given mutex.
Definition
platform.c:27
lf_platform_mutex_new
lf_platform_mutex_ptr_t lf_platform_mutex_new()
Create a new mutex and return (a pointer to) it.
Definition
platform.c:18
lf_thread_id
int lf_thread_id()
The ID of the current thread. The only guarantee is that these IDs will be a contiguous range of numb...
Definition
lf_platform_util.c:22
lf_platform_mutex_ptr_t
void * lf_platform_mutex_ptr_t
Pointer to the platform-specific implementation of a mutex.
Definition
platform.h:15
lf_platform_mutex_lock
int lf_platform_mutex_lock(lf_platform_mutex_ptr_t mutex)
Acquire the given mutex.
Definition
platform.c:26
platform
api
platform.h
Generated by
1.13.2