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