Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 07-04-2016, 12:43 AM   #1
Shivangi Panwar
Registered User
 
Join Date: Nov 2015
Posts: 127
What is deadlock in java ?

What is deadlock in java ?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Shivangi Panwar is offline   Reply With Quote

Old 07-06-2016, 01:25 AM   #2
Kiara
Registered User
 
Join Date: Jun 2016
Location: USA
Posts: 55
Deadlock in java is a part of multithreading. The most common cause of deadlock is two threads both acquiring the same set of locks, but in a different order.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Kiara is offline   Reply With Quote
Old 07-13-2016, 10:58 PM   #3
rekhaweb
Registered User
 
Join Date: Jul 2016
Posts: 28
Deadlock in java is a programming situation where two or more threads are blocked forever. Java deadlock situation arises with at least two threads and two or more resources.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
rekhaweb is offline   Reply With Quote
Old 07-15-2016, 03:10 AM   #4
sashwatmegh
Registered User
 
Join Date: Apr 2016
Location: pune
Posts: 583
A deadlock is a state where two or more threads are blocked waiting for the other blocked waiting thread to finish and thus none of the threads will ever complete.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sashwatmegh is offline   Reply With Quote
Old 07-20-2016, 03:21 AM   #5
JakMax
Registered User
 
Join Date: Jul 2016
Location: Singapore
Posts: 31
It's simple that When two or more threads are waiting for each other to release lock and get stuck for infinite time, this situation is called deadlock . It happen in java platform in case of multitasking. So you should use any java frame to develop java multitasking program.
JakMax is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Have you ever wondered what is inside a java class file? cianfie Java 6 01-28-2015 11:09 PM
Mochahost.com or Gojava.net for java hosting? a-b-c-d Hosting Discussion 16 10-13-2014 04:20 PM
The conclusion provided by the Black Hat Java Script andrebreton2121 Search Engine Optimization 6 10-17-2012 11:06 PM
biggest teature of String in java? cianfie Java 0 12-08-2011 09:03 PM


All times are GMT -7. The time now is 07:07 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.