What Are Three Ways In Which A Thread Can Enter The Waiting State

What Are Three Ways In Which A Thread Can Enter The Waiting State


  • 29 Dec, 2011

    A thread can enter the 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. It can also enter the waiting state by invoking its (deprecated) suspend() method.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.