lec10_memcomm0

lec10_memcomm0 - Lecture 10: Memory Communciation Tools...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 10: Memory Communciation Tools Message Queues: The sender puts its message in a memory space it gets from the OS, and then sends the address of that memory to the OS, together with an identification of the receiver. The receiver asks the OS whether there are messages for it, and decides to read them or not. Reading a message is done in the same place as where it was written. Queues are limited only by the size of the physical RAM. -Remote procedure calls: The sender (the client) asks the “receiver” (the server) to execute a procedure on its behalf, and send the results back. The server is on a different computer system or in a separate address region on the same computer. -Synchronization: Sender and receiver tasks both block until the communication is finished. - Remote invocation: Sender task waits until receiver task has sent back an acknowledgement that sender message was received. Mailbox: The sender notifies the OS that it has a message, and gives the identification of the receiver. The OS then copies the message to the mailbox of the receiver. This task must read the messages in the order of arrival. Again, it is limited only by the size of physical RAM, but will likely use more memory than a message queue.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/07/2010 for the course ELEC ecse 421 taught by Professor Guss during the Winter '10 term at McGill.

Page1 / 2

lec10_memcomm0 - Lecture 10: Memory Communciation Tools...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online