Assignment (Due Wednesday 15 November at 11:00am by email.)
Using the producer-consumer problem as an example, describe how a message passing solution resolves each of the following problems. If you do not believe message passing solves one of the problems below, describe why it does not.
- Race conditions
- Busy waiting
- Lost wakeup
- The chance of writing your code in such a way that it is susceptible to deadlock.
|