文件名称:windows_reader_writer
- 所属分类:
- 进程与线程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
线程的读者优先与写者优先。创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件进行读写操作。用信号量机制分别实现读者优先和写者优先的读者写者问题。-priority threads with the readers who wrote priority. The process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each thread according to the corresponding test data files and write. Using signal mechanism volume respectively priority and the readers who write to the readers to write priority problem.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
read_write.cpp
read_write.dsp
read_write.dsw
read_write.ncb
read_write.opt
read_write.plg
read_write.dsp
read_write.dsw
read_write.ncb
read_write.opt
read_write.plg