Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Operating Systems Concurrency and Synchronization Critical Section
To overcome difficulties in Readers-Writers problem, which of the following statement/s is/are true?
1) Writers are given exclusive access to shared objects
2) Readers are given exclusive access to shared objects
3) Both readers and writers are given exclusive access to shared objects.
Choose the correct answer from the code given below:1
1 only
2
Both 2 and 3
3
2 only
4
3 only