文件名称:readwrieter
介绍说明--下载内容均来自于网络,请自行研究使用
创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者-写者问题。-Creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each thread according to the requirements of relevant test data file read and write operations. Signal mechanism volume respectively priority and writing preferred reader readers- who write.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
readwrieter.cpp