文件名称:writer_reader
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 22kb
- 下载次数:
- 0次
- 提 供 者:
- l*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
经典的读者写者问题。设计读写线程,实现对同一文件的读和写的同步。
1.一个线程在写时,其他线程不允许写。
2.一个线程在写时,其他线程不允许读。
3.一个线程在读时,其他线程不允许写。
4.一个线程在读时,其他线程允许读。
-readers to write the classic problem. Design literacy threads, to achieve the same document simultaneously read and write. 1. A thread in writing, the other threads allowed to write. 2. A thread in writing, the time does not allow other threads. 3. A thread in reading, writing does not allow other threads. 4. A thread in Reading, Reading allow other threads.
1.一个线程在写时,其他线程不允许写。
2.一个线程在写时,其他线程不允许读。
3.一个线程在读时,其他线程不允许写。
4.一个线程在读时,其他线程允许读。
-readers to write the classic problem. Design literacy threads, to achieve the same document simultaneously read and write. 1. A thread in writing, the other threads allowed to write. 2. A thread in writing, the time does not allow other threads. 3. A thread in reading, writing does not allow other threads. 4. A thread in Reading, Reading allow other threads.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
writer_reader
.............\AssemblyInfo.cs
.............\bin
.............\...\Debug
.............\Form1.cs
.............\Form1.resx
.............\obj
.............\...\Debug
.............\writer_reader.csproj
.............\writer_reader.csproj.user
writer_reader.sln
.............\AssemblyInfo.cs
.............\bin
.............\...\Debug
.............\Form1.cs
.............\Form1.resx
.............\obj
.............\...\Debug
.............\writer_reader.csproj
.............\writer_reader.csproj.user
writer_reader.sln