文件名称:writer_reader
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:8.44kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
经典的读者写者问题。设计读写线程,实现对同一文件的读和写的同步。
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
writer_reader/writer_reader.csproj
writer_reader/Form1.cs
writer_reader/Form1.resx
writer_reader/AssemblyInfo.cs
writer_reader/App.ico
writer_reader/writer_reader.csproj.user
writer_reader/obj
writer_reader/obj/Debug
writer_reader/bin
writer_reader/bin/Debug
writer_reader.sln
www.dssz.com.txt
writer_reader/writer_reader.csproj
writer_reader/Form1.cs
writer_reader/Form1.resx
writer_reader/AssemblyInfo.cs
writer_reader/App.ico
writer_reader/writer_reader.csproj.user
writer_reader/obj
writer_reader/obj/Debug
writer_reader/bin
writer_reader/bin/Debug
writer_reader.sln
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.