This chapter covers
Ensuring Swing's thread-safety rule
Improving responsiveness of UI applications
Implementing a reusable read-write lock pattern
If the commonplace usage of multicore processors, the advent of specialized languages such as Erlang and Haskell, the heated discussions in developer communities, and the popularity of books on the subject are any indication, software systems are rapidly embracing ever-higher levels of concurrency. Yet concurrency control remains a mysterious topic to many developers. Even when you gain sufficient knowledge, implementing a concurrency-control scheme correctly and consistently is extremely complex because the implementation spans multiple modules. This can lead ...