Module 21: Problem and Solution
  Lecture 42: Multi-core ComputingInter-process Communication
 


Message Passing (Send)

Message Passing (Receive)

  • Receive can be blocking
    • A process makes a system call to receive a message.
      • If message is not available, the process is made to sleep (wait) and woken up when message is received.
  • Receive can be non-blocking
    • Process makes a system call to receive a message.
      • Return value from the system call determines whether a message is ready or not.