User`s guide

Tasks
4-44
Figure 4-12. TSK Properties Dialog Box
4.4.2 Task Execution States and Scheduling
Each TSK task object is always in one of four possible states of execution:
1) Running, which means the task is the one actually executing on the
system’s processor;
2) Ready, which means the task is scheduled for execution subject to
processor availability;
3) Blocked, which means the task cannot execute until a particular event
occurs within the system; or
4) Terminated, which means the task is “terminated” and does not execute
again.
Tasks are scheduled for execution according to a priority level assigned to the
application. There can be no more than one running task. As a rule, no ready
task has a priority level greater than that of the currently running task, since
TSK preempts the running task in favor of the higher-priority ready task.