Interprocess Communication Based on Message Passing



6.1 Basics ofMessage Passing

6.2 Naming Scheme

6.3 SynchronizationModel

6.4 Message Buffers

6.5 Message Structure and Contents

6.6 Producer–Consumer Problem with Message Passing

6.7 Summary

All interprocess communication methods presented in Chapter 5 are essentially able to pass synchronization signals from one process to another. They rely on shared memory to transfer data. Informally speaking, we know that it is possible to meaningfully transfer data among a group of producers and consumers by making them read from, and write into, a shared memory buffer “at the right time.” We use one ore more semaphores to make sure that the time is indeed right, but they are not directly ...

Get Real-Time Embedded Systems now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.