1.

What Are The Different Ways In Which A Thread Can Enter Into Waiting State?

Answer»

There are three ways for a thread to enter into waiting STATE. By invoking its SLEEP() method, by blocking on I/O, by unsuccessfully ATTEMPTING to acquire an OBJECT's LOCK, or by invoking an object's wait() method.

There are three ways for a thread to enter into waiting state. By invoking its sleep() method, by blocking on I/O, by unsuccessfully attempting to acquire an object's lock, or by invoking an object's wait() method.



Discussion

No Comment Found