ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > Class(2017-2018-1)ZSTU > student homework directory > 2015329620005李闻岚 >
homework5 Version 0
👤 Author: by arashi 2017-11-16 14:53:39
How many type of reader and writer problems? use semaphores to solve these problems , and explain them in detail.
There are two types of reader and writer problems.
Obviously, if two readers access the shared data simultaneously, no adverse affects will result. However, if a writer and some other thread (either a reader or a writer) access the database simultaneously, chaos may ensure.
In the solution to the first readers-writers problem, the reader process share the following structures

Please login to reply. Login

Reversion History

Loading...
No reversions found.