kernel: add thread_wait, thread_block and mtx
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
071a5651e0
commit
9c50a1df92
6 changed files with 49 additions and 3 deletions
|
|
@ -46,4 +46,7 @@ void enter_userspace_init(struct thread *thread, uaddr_t entry);
|
|||
struct pt_regs *current_pt_regs();
|
||||
u32 cpu_id();
|
||||
|
||||
void thread_wait();
|
||||
void thread_block();
|
||||
|
||||
#endif /* _ARCH_PROC_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue