文件名称:ReaderWriter
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:5.99kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Java多线程读者写者程序。程序先从txt文本中读取读者写者信息,1 R 3 5为例,1为线程序号,R表示读者,3表示申请操作的时间(秒为单位),5表示操作持续的时间。运行后先选择读者/写者优先,之后按照文本中的描述建立线程,采用信号量机制处理互斥访问。-Readers who write multi-threaded Java programs. Txt program text reads the reader to start writing Information, 1 R 3 5, for example, a number of threads, R for the reader, 3 that the applicant operating time (seconds), 5 that the duration of operation. After the first choice to run the reader/writer first, followed by the text of the descr iption of the establishment of the thread, the use of mechanisms to deal exclusive access semaphore.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ReaderWriter/Input.txt
ReaderWriter/line.class
ReaderWriter/My.class
ReaderWriter/ReaderWriter.class
ReaderWriter/ReaderWriter.java
ReaderWriter/ReaderWriter.java.bak
ReaderWriter
ReaderWriter/line.class
ReaderWriter/My.class
ReaderWriter/ReaderWriter.class
ReaderWriter/ReaderWriter.java
ReaderWriter/ReaderWriter.java.bak
ReaderWriter
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.