-2

what are the reasons for DeadLock occurrence ? does it cause from Hardware or it can be also cause by software issue?

Em Aamir
  • 1
  • 6
  • Which _hardware_ construct would be able to create a software deadlock? Hitting your PC with a sledge hammer? – Uwe Keim Jul 28 '16 at 05:33
  • if you didnt ans...then say sorry sir....here always criticism is more and solution is less on StackOverFlow @UweKeim – Em Aamir Jul 28 '16 at 05:43
  • if i know then why i put this question here ???? @UweKeim – Em Aamir Jul 28 '16 at 05:45
  • You can go through standard books and net before posting any question here.Check http://www.personal.kent.edu/~rmuhamma/OpSystems/Myos/deadlockCondition.htm this may change your perception about deadlock... – Rupsingh Jul 28 '16 at 11:55

1 Answers1

1

A Deadlock is strictly only caused by an OS and Software problem. Multiple threads trying to acquire the same resource is the most common cause. You would have been better using Google to find the answer. People are very rude on here.

What are common reasons for deadlocks?

http://www.javaworld.com/article/2075692/java-concurrency/avoid-synchronization-deadlocks.html

Community
  • 1
  • 1
CJMobileApps
  • 177
  • 1
  • 12