O'Reilly logo

Real-Time Embedded Systems by Gabriele Manduchi, Ivan Cibrario Bertolotti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6

 

 

Interprocess Communication Based on Message Passing

 

CONTENTS

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required