homework_5 Version 0 |
|
👤 Author: by 970135274qqcom 2017-11-02 06:26:34 |
How many type of reader and writer problems? use semaphores to solve these problems , and explain them in detail.
answers:
Two types.
We required that the writers have exclusive access to the shared database. This synchronization problem is referred to as the readers-writers problem. Since it was originally stated, it has been used to test nearly every new synchronization primitive. The readers-writers problem has several variations, all involving priorities. The simplest one, refe