deadlock « Thread « Java Swing Q&A





1. Threads with Swing and deadlock    coderanch.com

Background: I am working on a very large Java/Swing application. We have many threads at work for a lot of our code. One component is a cache manager that remembers data retrieved from our server. If the network goes away, the cache manager needs to ask the user if they want to use the old data or cancel the transaction. I ...

2. Swing and deadlock    coderanch.com

Java Concurrency In Practice Another factor leading to deadlock in multithreaded GUI framework sis the prevalence ofthemodel view control(MVC) pattern.Factoring user interactions into cooperating model,view,and controller objects greatly simplifies implementing GUI applications, but again raises the risk of inconsistent lock ordering. The controller calls into the model, which notifies the view that something has changed.But the controller can also callin to ...

3. Swing Deadlocks    forums.oracle.com