Skip to main content

Synchronous Point-To-Point Communication

  • Chapter
  • 159 Accesses

Part of the book series: The Springer International Series in Engineering and Computer Science ((SECS,volume 446))

Abstract

In the previous chapter one described two classes aimed at thread creation and concurrent execution. As far as threads are concerned, there is enough material in the Thread class for point-to-point synchronization and communication, which can be based on stop and schedule utilization (see Chapter 2). The same does not apply to the S_Thread class that does not provide these functions. In any case, stop and schedule are too low-level constructs to be really considered as tools for convenient daily use. This chapter focuses on the description of higher-level mechanisms for point-to-point synchronous communication that use specific data objects, called synchronous channels, together with a pair of send and recv functions. ARCH channels are similar to OCCAM’S [OCM 88], although the former have been extended to apply to both intra- and inter-process synchronous communication. Channels also are data structures on their own, from which the user code can read status information. The channel classes are defined as template classes, which allows the C++ compiler to check the type-consistent application of sendlrecv functions. This chapter presents the asynchronous channels and provides an accurate description of deterministic and non-deterministic synchronous communication.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer Science+Business Media New York

About this chapter

Cite this chapter

Adamo, JM. (1998). Synchronous 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_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4615-5761-6_3

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4613-7640-8

  • Online ISBN: 978-1-4615-5761-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics