Question

(TCO 2) You're writing an application for a ski resort to publish a snow report on...

(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
0 0
Add a comment Improve this question Transcribed image text
Answer #1

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.

Add a comment
Know the answer?
Add Answer to:
(TCO 2) You're writing an application for a ski resort to publish a snow report on...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT