Add thread sleep function
This commit is contained in:
@@ -60,6 +60,8 @@ void bh_task_reuse(bh_task_t *task,
|
||||
|
||||
int bh_task_done(bh_task_t *task);
|
||||
|
||||
int bh_thread_sleep(unsigned long timeout);
|
||||
|
||||
int bh_thread_join(bh_thread_t *thread);
|
||||
|
||||
int bh_thread_detach(bh_thread_t *thread);
|
||||
|
||||
Reference in New Issue
Block a user