Goal
-
Understand the issues in designing message-passing APIs and how to implement
them
Reading Assignments
Issues
-
send(destination, msg) and
recv(source,
msg) are generic forms of the message passing primitives.
If you are responsible of designing a message passing API, what should
you consider? In particular, what should the syntax of destination,source
and msg be? What should the
semantics of the message passing primitives?
-
How would you implement the two message passing primitives? Our
focus is on how to deal with synchronization and buffer management.
Write pseudo code to show your implementation ideas.