What is Thread deadlock ?

Java related questions and answers
deepak singh
Posts: 686
Joined: Fri Sep 30, 2016 4:19 pm

What is Thread deadlock ?

Postby deepak singh » Thu Oct 06, 2016 4:27 pm

What is Thread deadlock ?

rameshkhd
Posts: 1279
Joined: Sun Aug 28, 2016 10:45 am

Re: What is Thread deadlock ?

Postby rameshkhd » Thu Oct 06, 2016 4:28 pm

Ans). When a thread has locked an object and waiting for another object to be released by another
thread.and the other thread is also waiting for the first thread to release the first object, both the
threads will continue waiting forever. This is called ‘Thread deadlock’.


Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest