I am trying to understand the fundamental of Task State and State Transition in the context of real time operating systems. I found a very good explanation of the Task state on the wikipedia page. https://en.m.wikipedia.org/wiki/Process_state
Single core CPU can only run one task at a time. Each of the tasks can be in any states at any instant of time.
in typical designs, a task has three states
I understand what is "running" and "ready to run state".
I don't fully understand what the blocking, waiting, terminated and suspended state are ?
Single core CPU can only run one task at a time. Each of the tasks can be in any states at any instant of time.
in typical designs, a task has three states
- Running (task executing on the CPU)
- Ready (task ready to be executed)
- Blocked (task waiting for an event)
I understand what is "running" and "ready to run state".
I don't fully understand what the blocking, waiting, terminated and suspended state are ?