搜索资源列表
解决生产者-消费者问题
- public class Server extends Thread { Client client int counter public Server(Client _client) { this.client = _client this.counter = 0 } public void run() { while (counter < 10) { this.client.queue.addElement(new Integer(counter)) counter++ } throw
RussiaBlock
- 用C++写的一个俄罗斯方块程序。涉及到各种形状类和多线程,以及队列deque,想学习的可以参考一下 :(-With C++ Written by a Russian box procedures. Category involves a variety of shapes and multithreading, as well as the queue deque, would like to study for reference: (
