11 #ifndef KERN_TASKING_H
36 void create_proc(
void* start,
void* address_space,
void* param1,
void* param2);
void unblock_thread(pid_t pid, pid_t tid)
Definition: tasking.c:39
thread_state
Definition: tasking.h:15
@ THREAD_BLOCKED
The state of a generically blocked thread.
Definition: tasking.h:19
@ THREAD_RUNNING
The state of a running thread.
Definition: tasking.h:16
@ THREAD_EXITED
The state of an exited thread.
Definition: tasking.h:18
@ THREAD_READY
The state of a ready to run thread.
Definition: tasking.h:17
void yield()
Definition: tasking.c:8
void create_proc(void *start, void *address_space, void *param1, void *param2)
Definition: tasking.c:15
char check_proc_exists(pid_t pid)
Definition: tasking.c:46
void block_thread(thread_state state)
Definition: tasking.c:32