ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > Class(2017-2018-1)ZSTU > student homework directory > 2015329620001-曾瑞 >
homework5 Version 0
👤 Author: by zengrui96163com 2017-11-02 15:26:42
How many type of reader and writer problems?  use semaphores to solve these problems , and explain them in detail.

Solution:

  1. Two types are mentioned in the textbooks.


The first readers - writers problem, requires that no reader will be kept waiting unless a writer has already obtained permission to use the shared object . in other word , no reader should wait for other readers to finish simply because a writer is waiting .And writers may starve.

The second re

Please login to reply. Login

Reversion History

Loading...
No reversions found.