{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lec10_memcomm0 - Lecture 10 Memory Communciation Tools...

Info icon This 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.
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern