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 |
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?
How do I kill a process?
explain readers-writers problem?
Explain the difference between ntfs4 and ntfs5?
What are the different identifier states of a thread?
Explain yielding in threading?
How do you kill tasks?
How do you kill a service?
Explain the reasons of rebooting the system?
What is wait() and notify()?