MyOS Kernel
Process Struct Reference

#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 Threadfirst_thread
 A pointer to the head of the linked list of threads for this process.
 

Detailed Description

Represents a process


The documentation for this struct was generated from the following file: