1#include <ae2f/Sys/Thrd.h>
6 struct timespec req, rem;
12 printf(
"Thread child is starting\n");
16 printf(
"Thread child is ending\n");
21 register ae2f_eSysThrd_t ret_stat = 0;
22 ae2f_SysThrd ret_thrd0, ret_thrd1;
28 puts(
"Thread main is starting");
49 puts(
"Thread main has made a thread");
50 printf(
"ret_stat: %d\n", ret_stat);
60 "Thread main joined %d with retval %d\n"
61 , (ret_thrd0).m_id, ret_rtn);
70 "Thread main joined %d with retval %d\n"
71 , (ret_thrd1).m_id, ret_rtn);
75 puts(
"Thread main is ending");
#define ae2f_reinterpret_cast(t, v)
#define _ae2f_SysThrdJoin_imp(ret_stat, ret_rtn, ref_thrd)
#define _ae2f_SysThrdSleep_imp(ret_stat, prm_req, prm_rem)
#define _ae2f_SysThrdMk_imp(ret_stat, ret_thrd, prm_func, prm_arg, prm_stcksz_unused)
_ae2f_SysThrdRes_t ae2f_SysThrdRes_t
Return type for thread.
_ae2f_SysThrdPrm_t ae2f_SysThrdPrm_t
Parameters for thread.