110 |
In some implementations they can provide a more light-weight protection |
In some implementations they can provide a more light-weight protection |
111 |
mechanism than using semaphores. Otherwise semaphores can be used for |
mechanism than using semaphores. Otherwise semaphores can be used for |
112 |
implementation */ |
implementation */ |
113 |
u32_t sys_arch_protect(void); |
sys_prot_t sys_arch_protect(void); |
114 |
void sys_arch_unprotect(u32_t pval); |
void sys_arch_unprotect(sys_prot_t pval); |
115 |
|
|
116 |
/* Thread functions. */ |
/* Thread functions. */ |
117 |
sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg); |
sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg); |