文件名称:read-and-write
介绍说明--下载内容均来自于网络,请自行研究使用
读者-写者的读写限制(包括读者优先和写者优先)
1)写-写互斥,即不能有两个写者同时进行写操作
2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写
3)读读允许,即可以有2个以上的读者同时读-Readers- to read and write restrictions (including readers, priority, and the writer takes precedence)
A) write- write mutually exclusive, ie can not have two writers write
2) read- write mutex, that is not at the same time there is a reader in Reading, at the same time there is a writer writing
3) read the permit, which can have more than two readers simultaneously read
1)写-写互斥,即不能有两个写者同时进行写操作
2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写
3)读读允许,即可以有2个以上的读者同时读-Readers- to read and write restrictions (including readers, priority, and the writer takes precedence)
A) write- write mutually exclusive, ie can not have two writers write
2) read- write mutex, that is not at the same time there is a reader in Reading, at the same time there is a writer writing
3) read the permit, which can have more than two readers simultaneously read
(系统自动生成,下载前可以参看下载内容)
下载文件列表
读者与写者.txt