文件名称:synchronization
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
发送0至一百的数据到换中文件,缓冲文件会定时向浏览器发送该一百个数据。缓冲文件的大小是50.该程序为了达到同步接收的练习-The Producer class should send integers 0 to 100 to the Buffer. The Consumer
class should receive the 100 integers from the Buffer and output them to the
console.a Buffer with
size 50, create one Producer thread and one Consumer thread and start both of them.
class should receive the 100 integers from the Buffer and output them to the
console.a Buffer with
size 50, create one Producer thread and one Consumer thread and start both of them.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
synchronization\Buffer.class
...............\Buffer.java
...............\BufferApp.class
...............\BufferApp.java
...............\Consumer.class
...............\Consumer.java
...............\Producer.class
...............\Producer.java
synchronization
...............\Buffer.java
...............\BufferApp.class
...............\BufferApp.java
...............\Consumer.class
...............\Consumer.java
...............\Producer.class
...............\Producer.java
synchronization