Programming - Threads - Discussion

You Are Here :: Home > JAVA > Threads - Discussion

 



Q.

A situation where a thread is waiting for an object lock that holds by second thread, and this second thread is waiting for an object lock that holds by first thread, this situation is known as Deadlock.                         


A. Thread Scheduler B. Time-Sliced Scheduling
C. Preemtive Scheduling D. Dead Lock

Answer: Option D
Explaination:

 


A situation where a thread is waiting for an object lock that holds by second thread, and this second thread is waiting for an object lock that holds by first thread, this situation is known as Deadlock.




Discussion

Your Comments Goes here...
NameDiscussion