57 |
#define sys_mbox_post(m,d) |
#define sys_mbox_post(m,d) |
58 |
#define sys_mbox_free(m) |
#define sys_mbox_free(m) |
59 |
|
|
60 |
#define sys_thread_new(t,a) |
#define sys_thread_new(t,a,p) |
61 |
|
|
62 |
/* We don't need protection if there is no OS */ |
/* We don't need protection if there is no OS */ |
63 |
#define SYS_ARCH_DECL_PROTECT(lev) |
#define SYS_ARCH_DECL_PROTECT(lev) |
157 |
#endif /* SYS_ARCH_PROTECT */ |
#endif /* SYS_ARCH_PROTECT */ |
158 |
|
|
159 |
/* Thread functions. */ |
/* Thread functions. */ |
160 |
sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg); |
sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg, int prio); |
161 |
|
|
162 |
/* The following functions are used only in Unix code, and |
/* The following functions are used only in Unix code, and |
163 |
can be omitted when porting the stack. */ |
can be omitted when porting the stack. */ |