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 | numThreads |
The number of threads in this process. | |
int | numThreadsBlocked |
The number of blocked threads in this process. | |
struct Thread * | firstThread |
A pointer to the head of the linked list of threads for this process. | |
Represents a process