All mock tests are FREE till 31 December — register to save your progress

To overcome difficulties in Readers-Writers problem, which of the following statement/s is/are true?

(i) Writers are given exclusive access to shared objects.

(ii) Readers are given exclusive access to shared objects.

(iii) Both Readers and Writers are given exclusive access to shared objects.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. (i) only

Explanation

Writers need exclusive access; readers can share the object concurrently.

More System Software and Operating System questions