CS452 - Real-Time Programming - Fall 2009

Lecture 9 - Send/Receive/Reply

Reminder

Send/Receive/Reply

Message-Passing Primitives

Send

Receive

Reply


Producer/Consumer

Two ways to do this

  1. Producer Sends, consumer Receives

    After Reply buffers holding data can be overwritten at will

  2. Producer Receives and Replys

    After Reply buffers can be overwritten at will.

What is the difference?

  1. If relationship is one-to-one
  2. If relationship is many-to-one

If relationship is many-to-many


Return to: