#include <scheduler.h>

Data Fields | |
| cpu_context | cpu_context | 
| int64_t | state | 
| int64_t | counter | 
| int64_t | priority | 
| int64_t | preempt_count | 
Structure that describes a process.
This struct has the following members:
| int64_t task_struct::counter | 
Used to determine how long the current task has been running.
| cpu_context task_struct::cpu_context | 
A struct for the registers to be saved for the process.
| int64_t task_struct::preempt_count | 
Non-zero value indicates critical task, that must not be interrupted.
| int64_t task_struct::priority | 
When a new task is scheduled its priority is copied to counter.
| int64_t task_struct::state | 
The state of the currently running task.