Question: A database is to be shared among several concurrent processes. Some of these processes may want only to read the database (readers), whereas others may

A database is to be shared among several concurrent processes. Some of these processes may want only to read the database (readers), whereas others may want to update (that is, to read and write) the database (writers). Design an algorithm in pseudocode to guarantee such that: no data inconsistency will occur, the readers are able to read simultaneously, all the writers are able to write before readers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
