搜索资源列表
Restaurant
- java实现生产者与消费者的程序。java中很好的多线程并行运算-java implementation of the program producers and consumers. java in a good multi-threaded parallel computing
Producers-and-consumers
- 生产者与消费者问题的实现。创建一组“生产者”线程和一组“消费者”线程,并建立一个长度为N的全局数组作为共享缓冲区。“生产者”向缓冲区输入数据,“消费者”从缓冲区读出数据。当缓冲区满时,“生产者”必须阻塞,等待“消费者”取走缓冲区数据后将其唤醒。当缓冲区空时,“消费者”阻塞,等待“生产者”生产了产品后将其唤醒。试用信号量实现“生产者”与“消费者”线程之间的同步。 -Producers and consumers
ProducerAndConsumer
- 生产者与消费者问题的实现的java版本,加入了同步、等待与唤醒的功能。-Producers and consumers problem achieved in java , adding the synchronization, waiting and wake-up function.
newforthread
- java 多线程 源代码 消费者 生产者实例程序-multi-threaded java source code
xiaofeiMain
- 用JAVA实现的消费者与生产者源代码,实现了先来先服务,并且有可视化的图形界面窗口-Implemented with JAVA source code consumers and producers to achieve a first-come first-served, and there are visual graphical interface window
School
- 随着网络技术的飞速发展,网络经济与人们的生活越来越紧密的联系在一起,网上购物与网上销售也在逐渐发展和普及。消费者与销售商都迫切需要一种简便与高速高效的购物与销售方式,网络商城管理系统的出现正好满足人们的这种需要,通过网络的简便与高效可以使消费者花更少的金钱,节省更多的时间,而买到更好的商品,可以让销售者更合理的调节商品的数量以免造成商品的积压,同时能够让生产者真正随着市场经济的需求而调节产品的种类和数量。-With the rapid development of network technol
producer-and-Consumer
- java实现生产者,消费者问题,这里只是生产者部分的实现。-producer for java
procedure_consumer
- 操作系统的生产者和消费者进程同步,使用java实验-Producers and consumers of the operating system process synchronization, using java experimental
thread-synchronization
- java中的线程同步是非常重要的一个知识点,这个程序是一个非常好的线程同步的学习和模仿的例子,是生产者和消费者模型的一个经典例子。-java thread synchronization is a very important knowledge point, this program is a very good thread synchronization learn and imitate the example, is a classic example of the model of
daimaew
- 有关java编程实现的龟兔赛跑,以及多线程实现生产者和消费者问题。-The Java programming of the tortoise and the hare, and the multithreading producer and consumer problems.
testThread
- java多线程小例子,生产者和消费者关系模式。-java multithreading small example, producers and consumers relational schema.
Test
- 生产者,消费者,互斥信号量,解决多线程调度问题,-Producers, consumers, mutexes, semaphores, to solve the multi-threaded scheduling problem
producer_cousummer_wait_notify
- 生产者与消费者问题,多线程的应用实例,介绍了wait()和notify()的使用方法-Producer and consumer issues, multithreaded application examples, describes the wait () and notify () method to use
ProduceraConsumer
- 该原码是操作系统实验中的生产者与消费者问题-The original code of the operating system experiment producers and consumers
thread
- 多线程 简单描述消费者与生产者之间的联系-Multithreading brief descr iption of contact between consumers and producers
thread
- 多线程 消费者与生产者之间的简单生产消费关系
os-coursedesign
- 操作系统课程设计包含:多线程模拟(生产者和消费者)、银行家算法、页面置换算法-Courses on operating system design includes: multi-threaded simulation (producers and consumers), bankers algorithm, page replacement algorithm
produceconsemer
- 请编写一个程序,有1生产者线程和5消费者线程, 生产者生产n(0 < n < = 5)产品的时间, 每个消费者消费产品每次只有一个, 只有当产品都被消费,生产者可以生产下一批产品-Please write a program, there is a producer thread and a consumer thread 5, producers produce n (0 < n < = 5) the product of the time, every con
JTHREADSYNCH
- java 强大的多线程机制。生产者和消费者共享一个数据,当数据为0 时,消费者不可访问,生产者可访问数据,每次访问数据加1;当数据到达100 时,生产者唤醒消费者,同时自身不可访问数据,消费者可访问数据,每次访问数据减1,直到数据为0,消费者唤醒生产者,同时自身不可访问数据,如此循环。每次访问信息,显示在JTextArea 对象中。-Powerful java multithreading. Share a data producer and consumer, when the data is
jthreadsynch
- Java线程间同步互斥,在实际的编程中,经常要处理线程间的同步互斥问题。Java 语言内在强大的多线程支持使得处理这类问题变得相对来说比较简单。本例将模仿经典的线程同步互斥例子——生产者和消费者问题,来演示 java 强大的多线程机制。生产者和消费者共享一个数据,当数据为0 时,消费者不可访问,生产者可访问数据,每次访问数据加1;当数据到达100 时,生产者唤醒消费者,同时自身不可访问数据,消费者可访问数据,每次访问数据减1,直到数据为0,消费者唤醒生产者,同时自身不可访问数据,如此循