Thread Synchronization Utilities

In this chapter, we will cover the following topics:

  • Controlling concurrent access to one or more copies of a resource
  • Waiting for multiple concurrent events
  • Synchronizing tasks at a common point
  • Running concurrent-phased tasks
  • Controlling phase change in concurrent-phased tasks
  • Exchanging data between concurrent tasks
  • Completing and linking tasks asynchronously

Get Java 9 Concurrency Cookbook - 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.