
- Forum
- Programming Talk
- Java
- Synchronisation and Deadlock
Synchronisation and Deadlock
This is a discussion on Synchronisation and Deadlock within the Java forums, part of the Programming Talk category; I have a doubt whether unnecesarry synchronisation would lead to case of deadlock. If so in what situations could synchronisations ...
-
Synchronisation and Deadlock
I have a doubt whether unnecesarry synchronisation would lead to case of deadlock. If so in what situations could synchronisations could be handled.
-
Yes ashlee surely unnecessary synchronization would lead to case of deadlock. To say an instance if methods of the applet are over-synchronized then it would lead to deadlock. The best way to resolve this problem stated in example is to use synchronization in the applet only when needed. This way of handling would remove unnecessary synchronization and thereby avoid deadlock.
-
That's a nice scenario in which over-synchronization leaded to deadlock. Can someone specify more scenarios to make this discussion even more useful? I am also thinking in this line.
-
Sponsored Ads

Reply With Quote





