(TCO 2) You're writing an application for a ski resort to publish a snow report on its website. One process will enable a single user to update the daily snow report. Another process enables people to view the report. Which interprocess synchronization mechanism is most appropriate for this situation?
| A monitor mutex lock |
| B | mutex lock |
| C | reader-writer lock |
| D | semaphore |
For this kind of condition we need read write lock in which one writer and number of readers are available.
Hence option C is correct.
Note- please find me in comment box if you find any difficulty.
(TCO 2) You're writing an application for a ski resort to publish a snow report on...