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
|
|
@ -13,6 +13,7 @@
|
|||
#define PROC_STATE_RUNNING 0
|
||||
#define PROC_STATE_WAITING 1
|
||||
#define PROC_STATE_DNS 2 /* do not schedule */
|
||||
#define PROC_STATE_BLOCKED 3
|
||||
|
||||
typedef u64 pid_t;
|
||||
typedef u64 tid_t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue