| |
Synchronization With Messages
- Send:
- Blocking send
- Sender process is blocked till receiver process receives the message
- Non-blocking send
- Sender process resumes after send.
- Receive
- Blocking receive
- Receiver process waits until a message is received
- Non-blocking receive
- Receiver process does not wait if the message is not ready.
Return status indicates if message is ready or not.
Buffering Model
- Buffer capacity:
- Zero capacity.
- Link can not have any waiting message.
- Sender must block till receiver is ready to receive
- Bounded capacity.
- Finite storage of waiting messages.
- Sender blocks when link is full.
- Unbounded capacity.
|