Chapter 13. Implementing concurrency control

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 ...

Get AspectJ in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.