O'Reilly logo

The Definitive Guide to Terracotta: Cluster the JVM™ for Spring, Hibernate, and POJO Scalability by Terracotta Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Thread Coordination

In a computer, just like the rest of the world, more work can get done if there are more workers working at the same time. In a computer, these workers take the form of multiple concurrently executing processes and, inside of a single process, multiple concurrent threads of execution. In the real world, if more than one worker is working on the same thing or if workers need to perform their work in a certain order relative to each other, they must have some form of communication and coordination between them. Just as in the physical world, if more than one thread is working on the same object or if those threads need to mutate objects in a certain order relative to each other, they must have some way to coordinate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required