homework 5 Version 0 |
|
👤 Author: by 1065486204qqcom 2017-11-02 12:36:36 |
Two types.
The first readers-writers problem:
It requires that no reader will be kept waiting unless a writer has already obtained permission to use the shared object. In other words, no reader should wait for other readers to finish simply because a writer is waiting.
The second readers-writers problem:
It requires that, once a writer is ready, that writer performs its write as soon as possible. In other words, if a writer is waiting to access the object, no new readers may start rea