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 :
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.
 
Comments
Post a Comment