1234567891011121314151617181920212223242526272829303132333435 |
- struct thread {
-
- bool_t exited;
- };
- void thread_start(struct thread *thread, uint32_t *stack, void (*func)(void*), void* arg);
- void thread_yield(void);
- bool_t thread_tryjoin(struct thread *thread);
- void thread_join(struct thread *thread);
- void thread_reset(void);
|