MyOS Kernel
|
#include <tasking.h>
Data Fields | |
char | priv |
Whether the process is privileged (can execute syscalls to acesss all of memory/has acess to IO ports). | |
pid_t | pid |
The PID of this process. | |
pid_t | next_tid |
The TID that the next created thread will use. | |
int | num_threads |
The number of threads in this process. | |
int | num_threads_blocked |
The number of blocked threads in this process. | |
struct Thread * | first_thread |
A pointer to the head of the linked list of threads for this process. | |
Represents a process