Process / Thread - State


Process / Thread State is the state that a thread (and the main thread (process)) can take.


An example of a process or thread state. Other sub-state may exists. It's dependent of the process runtime.

State Description
NEW A thread that has not yet started is in this state.
RUNNABLE A thread executing is in this state.
BLOCKED A thread that is blocked is in this state.
WAITING A thread that is waiting indefinitely for another thread to perform a particular action is in this state
TIMED_WAITING A thread that is waiting for another thread to perform an action for up to a specified waiting time is in this state.
TERMINATED A thread that has exited is in this state.


with a Data Visualization - State Diagram


  • when the process is running,waiting or blocked, it's located in the main memory
  • when the process is swapped, it's located in the swap file system





Powered by ComboStrap