What are the different ways in which a thread can enter into waiting state?



What are the different ways in which a thread can enter into waiting state?..

Answer / Kuldeep Singh

A thread enters the waiting state when one of its locks is held, but none of the conditions it depends on are met. This can happen due to several reasons such as await(), join(), sleep() or when an I/O operation blocks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Windows Threads Interview Questions

what are the reasons of rebooting the system?

11 Answers   HCL, HP, Mphasis,


What is AD/AM in Windows2003?

1 Answers   Accenture, ASD Lab, Mphasis,


What are types of threads?

1 Answers  


How do I kill a process?

1 Answers  


explain readers-writers problem?

1 Answers  


Explain the difference between ntfs4 and ntfs5?

1 Answers  


What are the different identifier states of a thread?

1 Answers  


Explain yielding in threading?

1 Answers  


How do you kill tasks?

1 Answers  


How do you kill a service?

1 Answers  


Explain the reasons of rebooting the system?

1 Answers  


What is wait() and notify()?

1 Answers  


Categories