Expand description
User task management.
Structs§
- Process
Data - Extended data for [
Process
]. - TaskExt
- Task extended data for the monolithic kernel.
- Thread
Data - Extended data for [
Thread
].
Functions§
- add_
thread_ to_ table - Add the thread and possibly its process, process group and session to the corresponding tables.
- get_
process - Finds the process with the given PID.
- get_
process_ group - Finds the process group with the given PGID.
- get_
session - Finds the session with the given SID.
- get_
thread - Finds the thread with the given TID.
- new_
user_ task - Create a new user task.
- processes
- Lists all processes.
- time_
stat_ from_ kernel_ to_ user - Update the time statistics to reflect a switch from kernel mode to user mode.
- time_
stat_ from_ user_ to_ kernel - Update the time statistics to reflect a switch from user mode to kernel mode.
- time_
stat_ output - Get the time statistics for the current task.