14.7. Synchronous message passing

A message system in which the sender is delayed on SEND until the receiver executes WAIT avoids the overhead of message buffer management. Such a system is outlined in Figure 14.11. The message is copied once (or mapped) from sender to receiver when they have synchronized. The behaviour of such a system is easier to analyse since synchronizations are explicit. Figure 14.12 illustrates possible synchronization delay for Figure 13.7(d).

Figure 14.11. Implementation of synchronous message passing.

Figure 14.12. Synchronization in synchronous message passing.

In practice, explicit synchronization is not feasible in ...

Get Operating Systems: Concurrent and Distributed Software Design 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.