reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
ThreadWrapper.h
Go to the documentation of this file.
1
25/* Adds threading support in RTOS-enabled Arduino Boards (MBED)
26 *
27 * @author{Anirudh Rengarajan <arengarajan@berkeley.edu>}
28 */
29
30#ifndef THREADWRAPPER_H
31#define THREADWRAPPER_H
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37void* thread_new();
38void thread_delete(void* thread);
39int thread_start(void* thread, void* (*function)(void*), void* arguments);
40int thread_join(void* thread, int* thread_return);
41int thread_terminate(void* thread);
42
43#ifdef __cplusplus
44}
45#endif
46#endif
void * thread_new()
Definition ThreadWrapper.cpp:41
int thread_start(void *thread, void *(*function)(void *), void *arguments)
int thread_join(void *thread, int *thread_return)
void thread_delete(void *thread)
Definition ThreadWrapper.cpp:45
int thread_terminate(void *thread)
Definition ThreadWrapper.cpp:62