文件名称:write-and-reader-priority
介绍说明--下载内容均来自于网络,请自行研究使用
(1)任意多的读进程可以同时读这个文件;
(2)一次只允许一个写进程往文件中写;
(3)如果一个写进程正在往文件中写,禁止任何读进程或写进程访问文件;
(4)写进程执行写操作前,应让已有的写者或读者全部退出。这说明当有读者在读文件时不允许写者写文件。-(A) any number of reading processes can simultaneously read the file (2) allows only one process to write the file to write (3) If a write process is written to the file, process or prohibit any read access to the file write process (4) writing process to perform a write operation, you should let the writers or readers have all quit. This shows that when a reader when reading the file does not allow writers to write files.
(2)一次只允许一个写进程往文件中写;
(3)如果一个写进程正在往文件中写,禁止任何读进程或写进程访问文件;
(4)写进程执行写操作前,应让已有的写者或读者全部退出。这说明当有读者在读文件时不允许写者写文件。-(A) any number of reading processes can simultaneously read the file (2) allows only one process to write the file to write (3) If a write process is written to the file, process or prohibit any read access to the file write process (4) writing process to perform a write operation, you should let the writers or readers have all quit. This shows that when a reader when reading the file does not allow writers to write files.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
write and reader priority\write and reader priority.doc
write and reader priority