Abstract
Point-to-point synchronous communication provides a uniform model to deal with both local and inter-process synchronization and communication. However, this model sometimes turns out to produce over-synchronization and useless context switching. Let us use the global completion checking algorithm (GC, see Chapter 6 for details) to illustrate this point. The algorithm consists of a probe process that checks global completion by sending message waves from root to leaves and back on a process virtual binary-tree. Each node in the tree (a process) runs the local component of the overall probe process as a concurrent thread whose behavior can be sketched out as follows:
-
— wait for a message from father,
-
— update and forward the message to each son,
-
— wait for reply from each son,
-
— integrate replies, and
-
— send result to father.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1998 Springer Science+Business Media New York
About this chapter
Cite this chapter
Adamo, JM. (1998). Asynchronous Point-To-Point Communication. In: Multi-Threaded Object-Oriented MPI-Based Message Passing Interface. The Springer International Series in Engineering and Computer Science, vol 446. Springer, Boston, MA. https://doi.org/10.1007/978-1-4615-5761-6_4
Download citation
DOI: https://doi.org/10.1007/978-1-4615-5761-6_4
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4613-7640-8
Online ISBN: 978-1-4615-5761-6
eBook Packages: Springer Book Archive