Skip to main content

Posts

Showing posts with the label sleeping

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

See more basics of thread in java here : What is thread in java ? 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.