搜索资源列表
3
- 用进程来模拟生产者和消费者问题,2个生产者和3个消费者,3个缓冲区。-Used to simulate the process of producers and consumers
2.1
- 生产者与消费者问题,采用信号量机制,vc编程,C语言,windows环境下-Producers and consumers, using semaphore mechanism, vc programming, C language, windows environment
producer_consumer
- 进程间的生产者与消费者问题,2个生产者,3个消费者,缓冲区个数为3。通过信号量和互斥体对象实现了进程间的同步,通过文件映射实现了进程间的通信。-Producer and consumer issues between processes, two producers, three consumers, the number of buffers is 3. By semaphores and mutexes object implements synchronization, file mapp
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,消费者唤醒生产者,同时自身不可访问数据,如此循
Consumers
- 消费者和生产者线程操作..一个简单的JAVA程序-Consumers and producers threaded operation
project-common
- 这是一个生产者和消费者lLinux下编程-This is a programming under Linux producers and consumers
thread
- 生产者,消费者线程并发进行,生产者发现缓冲区满了则唤醒消费者,自己睡眠。消费者发现缓冲区空了,唤醒生产者,自己睡眠。-The producer, the consumer thread, producers have found that the buffer is full, wake up the consumers, their sleep. Consumers find the buffer is empty, awaken the producers, their sleep.
Java-xianchengtongbuhuchi
- Java线程间同步互斥,在实际的编程中,经常要处理线程间的同步互斥问题。Java 语言内在强大的多线程支持使得处理这类问题变得相对来说比较简单。本例将模仿经典的线程同步互斥例子——生产者和消费者问题,来演示 java 强大的多线程机制。生产者和消费者共享一个数据,当数据为0 时,消费者不可访问,生产者可访问数据,每次访问数据加1;当数据到达100 时,生产者唤醒消费者,同时自身不可访问数据,消费者可访问数据,每次访问数据减1,直到数据为0,消费者唤醒生产者,同时自身不可访问数据,如此循
producer
- 生产者与消费者模型的实现,使用C语言实现的,已经编译通过-Producers and consumers to realize the model
dxc
- 处理多线程问题,具体是处理生产者与消费者的问题,有关学习互斥量信号量的简单知识-Deal with multi-threading issues, in particular the problem of treatment of producers and consumers, the simple knowledge about learning mutex semaphore
dxce
- 在这里我使用了三个listbox来处理有关于生产者与消费者的问题,主要解决了将参数传输到线程内的问题,还有关于线程基础的知识学习-Here I used three listbox to deal with producers and consumers about the issue, mainly to solve the transfer parameters to the thread problem, there learning knowledge base about thread
prod
- C++实现互斥量通信,生产者和消费者线程之间通过互斥量实现通信-C++ implementation of the mutex communication between producers and consumers to communicate via the mutex thread
Pro_Con
- MFC做的生产者与消费者,利用list显示生产、消费、和仓库中的产品,程序中有创建,挂起,结束线程,经测试可以实现,程序的开发环境是VS2010.-MFC do producers and consumers, the use of list display production, consumption, and warehouse products, programs have created, pending the end of the thread, the test can be a
second.c
- 生产者与消费者问题模型,在linux操作系统下,创建两个进程一个进程作为生产者,另一个作为消费者。-Producer and consumer issues model
Serial-debugging-assistant
- 基于生产者和消费者的串口调试助手,供初学者参考-Producers and consumers based serial debugging assistant reference for beginners
product-and-custom
- 调用Windows API,模拟解决生产者-消费者问题-Call the Windows API, analog solutions producer- consumer issues
ProductAndConsumer
- 多线程实现生产者和消费者问题。 -Multi threading the producer and consumer issues
lab3
- • 一个大小为3的缓冲区,初始为空 • 2个生产者 -随机等待一段时间,往缓冲区添加数据, -若缓冲区已满,等待消费者取走数据后再添加 -重复6次 • 3个消费者 -随机等待一段时间,从缓冲区读取数据 -若缓冲区为空,等待生产者添加数据后再读取 -重复4次 说明: • 显示每次添加和读取数据的时间及缓冲区的状态 生产者和消费者用进程模拟。
labview-MS-and-PC-design-pattern--
- labview主/从设计模式和生产者/消费者设计模式,在数据采集中国常用到的一种模式。-labview master/slave design pattern and producer/consumer design patterns used in data collection to China as a model.