Non Runnable States in Multithreading – Different states while thread is in runnable states

See post on what is thread?

The different states while thread is in runnable states are given below :

    Sleeping States :

  • may be alive, but not running
  • may return to runnable state
  • stop running for an amount of time
    Waiting for Notifications :

  • wait for notification from other
  • send to runnable after notified thread
    Blocked on I/O :

  • after availability of resource sends to runnable
    Blocked for Joint Completion :

  • waiting for completion of another thread
    Blocked for Lock Acquistion ::

  • Come to this state because of waiting to acquire the lock of an object.

Leave a Reply

Your email address will not be published. Required fields are marked *