Supplementing the Model with Handwritten Code : Scheduler Package : Status of a Task

Status of a Task

Each task may be in one of four states:

Current - The task is executing
Ready - The task is ready for execution
Delayed - The task is waiting for some event to occur
Stopped - The task is not active

The calls that change the status of a task are described below.