CS3539 Operating Systems - Fall 2009 ASSIGNMENT NO. 4 Synchronization. Due date: September 24. Syncronization with the a) Bounded Buffer Problem (Producer-consumer problem), b) the Readers-Writers problem. Study the behavior of synchronizing the buffer using the simulation model implemented in "consprod.cpp" Study the behavior of synchronizing the readers and writers using the simulation model implemented in "reawriter.cpp". Copy these files from the /home/jgarrido/psim3 folder on CS3. Run the simulation models, then change the delay on the critical section of the processes. Compare the performance of the simulation runs. In the last part of your report include your answers to the following questions. 1. What are the main differences between the two models and with the previous models? 2. Explain how synchronization affects the behavior of the processes in the simulation run. 3. Intify the "slower"process in the simulation runs. 4. What aspect of an operating system is the model representing? 5. What performance measures does the model compute? 6. What is noticeable in the dynamic behavior of the system? 7. What other performance measures can this model compute?