50 struct cooja_mtarch_thread;
67 void cooja_mtarch_start(
struct cooja_mtarch_thread *thread,
68 void (*
function)(
void *data),
78 void cooja_mtarch_yield(
void);
90 void cooja_mtarch_exec(
struct cooja_mtarch_thread *thread);
96 #include "cooja_mtarch.h" 98 struct cooja_mt_thread {
100 process_event_t *evptr;
101 process_data_t *dataptr;
102 struct cooja_mtarch_thread thread;
124 void cooja_mt_start(
struct cooja_mt_thread *thread,
void (*
function)(
void *),
void *data);
139 void cooja_mt_exec(
struct cooja_mt_thread *thread);
170 void cooja_mt_yield(
void);