CS350 COS
COS
Loading...
Searching...
No Matches
Process Struct Reference

#include <thread.h>

Collaboration diagram for Process:
[legend]

Public Member Functions

 TAILQ_ENTRY (Process) processList
 
 TAILQ_ENTRY (Process) siblingList
 

Data Fields

uint64_t pid
 
ASspace
 
Spinlock lock
 
uintptr_t entrypoint
 
uint64_t nextThreadID
 
uintptr_t ustackNext
 
uint64_t refCount
 
char title [PROCESS_TITLE_LENGTH]
 
int procState
 
uint64_t exitCode
 
Processparent
 
ProcessQueue childrenList
 
ProcessQueue zombieProc
 
Mutex zombieProcLock
 
CV zombieProcCV
 
CV zombieProcPCV
 
uint64_t threads
 
ThreadQueue threadList
 
Semaphore zombieSemaphore
 
ThreadQueue zombieQueue
 
uint64_t nextFD
 
HandleQueue handles [PROCESS_HANDLE_SLOTS]
 

Detailed Description

Definition at line 65 of file thread.h.

Member Function Documentation

◆ TAILQ_ENTRY() [1/2]

Process::TAILQ_ENTRY ( Process  )

◆ TAILQ_ENTRY() [2/2]

Process::TAILQ_ENTRY ( Process  )

Field Documentation

◆ childrenList

ProcessQueue Process::childrenList

Definition at line 80 of file thread.h.

◆ entrypoint

uintptr_t Process::entrypoint

Definition at line 69 of file thread.h.

◆ exitCode

uint64_t Process::exitCode

Definition at line 76 of file thread.h.

◆ handles

HandleQueue Process::handles[PROCESS_HANDLE_SLOTS]

Definition at line 92 of file thread.h.

◆ lock

Spinlock Process::lock

Definition at line 68 of file thread.h.

◆ nextFD

uint64_t Process::nextFD

Definition at line 91 of file thread.h.

◆ nextThreadID

uint64_t Process::nextThreadID

Definition at line 70 of file thread.h.

◆ parent

Process* Process::parent

Definition at line 78 of file thread.h.

◆ pid

uint64_t Process::pid

Definition at line 66 of file thread.h.

◆ procState

int Process::procState

Definition at line 75 of file thread.h.

◆ refCount

uint64_t Process::refCount

Definition at line 73 of file thread.h.

◆ space

AS* Process::space

Definition at line 67 of file thread.h.

◆ threadList

ThreadQueue Process::threadList

Definition at line 87 of file thread.h.

◆ threads

uint64_t Process::threads

Definition at line 86 of file thread.h.

◆ title

char Process::title[PROCESS_TITLE_LENGTH]

Definition at line 74 of file thread.h.

◆ ustackNext

uintptr_t Process::ustackNext

Definition at line 71 of file thread.h.

◆ zombieProc

ProcessQueue Process::zombieProc

Definition at line 81 of file thread.h.

◆ zombieProcCV

CV Process::zombieProcCV

Definition at line 83 of file thread.h.

◆ zombieProcLock

Mutex Process::zombieProcLock

Definition at line 82 of file thread.h.

◆ zombieProcPCV

CV Process::zombieProcPCV

Definition at line 84 of file thread.h.

◆ zombieQueue

ThreadQueue Process::zombieQueue

Definition at line 89 of file thread.h.

◆ zombieSemaphore

Semaphore Process::zombieSemaphore

Definition at line 88 of file thread.h.


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