reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
ConditionWrapper.h
Go to the documentation of this file.
1
25/* Adds condition variable support in RTOS-enabled Arduino Boards (MBED)
26 *
27 * @author{Anirudh Rengarajan <arengarajan@berkeley.edu>}
28 */
29
30#ifndef CONDITIONWRAPPER_H
31#define CONDITIONWRAPPER_H
32
33struct condition;
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39void* condition_new(void*);
40void condition_delete(void*);
41int condition_wait_for(void*, uint64_t);
42int condition_wait(void*);
43void condition_notify_one(void*);
44void condition_notify_all(void*);
45
46#ifdef __cplusplus
47}
48#endif
49#endif
void * condition_new(void *)
Definition ConditionWrapper.cpp:40
void condition_notify_one(void *)
Definition ConditionWrapper.cpp:60
int condition_wait(void *)
Definition ConditionWrapper.cpp:54
void condition_delete(void *)
Definition ConditionWrapper.cpp:44
int condition_wait_for(void *, uint64_t)
void condition_notify_all(void *)
Definition ConditionWrapper.cpp:65