87 |
* |
* |
88 |
*/ |
*/ |
89 |
void sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg); |
void sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg); |
90 |
|
void sys_timeout_remove(sys_timeout_handler h, void *arg); |
91 |
struct sys_timeouts *sys_arch_timeouts(void); |
struct sys_timeouts *sys_arch_timeouts(void); |
92 |
|
|
93 |
/* Semaphore functions. */ |
/* Semaphore functions. */ |
96 |
u32_t sys_arch_sem_wait(sys_sem_t sem, u32_t timeout); |
u32_t sys_arch_sem_wait(sys_sem_t sem, u32_t timeout); |
97 |
void sys_sem_free(sys_sem_t sem); |
void sys_sem_free(sys_sem_t sem); |
98 |
void sys_sem_wait(sys_sem_t sem); |
void sys_sem_wait(sys_sem_t sem); |
99 |
|
int sys_sem_wait_timeout(sys_sem_t sem, u32_t timeout); |
100 |
|
|
101 |
/* Mailbox functions. */ |
/* Mailbox functions. */ |
102 |
sys_mbox_t sys_mbox_new(void); |
sys_mbox_t sys_mbox_new(void); |