|
CS350 COS
COS
|
#include <thread.h>
Public Member Functions | |
| TAILQ_ENTRY (Process) processList | |
| TAILQ_ENTRY (Process) siblingList | |
Data Fields | |
| uint64_t | pid |
| AS * | space |
| Spinlock | lock |
| uintptr_t | entrypoint |
| uint64_t | nextThreadID |
| uintptr_t | ustackNext |
| uint64_t | refCount |
| char | title [PROCESS_TITLE_LENGTH] |
| int | procState |
| uint64_t | exitCode |
| Process * | parent |
| 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] |
| Process::TAILQ_ENTRY | ( | Process | ) |
| Process::TAILQ_ENTRY | ( | Process | ) |
| HandleQueue Process::handles[PROCESS_HANDLE_SLOTS] |
| char Process::title[PROCESS_TITLE_LENGTH] |