Abstract
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 each other.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 Terracotta, Inc.
About this chapter
Cite this chapter
(2008). Thread Coordination. In: The Definitive Guide to Terracotta. Apress. https://doi.org/10.1007/978-1-4302-0639-2_10
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0639-2_10
Publisher Name: Apress
Print ISBN: 978-1-59059-986-0
Online ISBN: 978-1-4302-0639-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)