ProducerConsumer
所属分类:Java编程
开发工具:Java
文件大小:1KB
下载次数:19
上传日期:2010-03-15 00:19:46
上 传 者:
youknow2
说明: 采用Java 多线程技术,设计实现一个符合生产者和消费者问题的程序。对一个对象(枪膛)进行操作,其最大容量是12颗子弹。生产者线程是一个压入线程,它不断向枪膛中压入子弹;消费者线程是一个射出线程,它不断从枪膛中射出子弹
(Use of Java multi-threading technology, designed to achieve a consistent producer and consumer issues programs. Pairs of an object (the chamber) to operate with a maximum capacity of 12 bullets. The producer thread is pressed into a thread, it continues to press into the bullet in the chamber consumer thread is a thread injection, it continues to bullets fired from the barrel of)
文件列表:
ProducerConsumer.java (1728, 2009-10-30)
近期下载者:
相关文件:
收藏者: