Understand concurrency controls and how interrupt can affect it?
Solution:
Concurrency control is a mechanism in which we managing simultaneous operations without any conflict between one another.
If all the users are just reading the data then concurrency control is fairly easy. because if all the users are just reading the data there is no way that they can interfere with one another. Where the read and write are done simultaneously or write, write then concurrency control is required.
Now, think of the access point as a critical section so whenever write needs to be done it will interrupt all the read and then write in it and commit, then any other process is allowed to read again.
Hit the thumbs up if you liked the answer. :)
Get Answers For Free
Most questions answered within 1 hours.