搜索资源列表
Java
- 用多进程同步方法解决生产者——费者问题 设计目的:通过研究Linux 的进程机制和信号量实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数. 设计要求: (1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者县城的标识符. (2)生产者和消费者各有两个以上. (3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码.
生产者-消费者
- 生产者-消费者的JAVA小程序-producer-consumer Java Applet
生产者和消费者之间的经典实现线程
- 生产者和消费者之间的经典实现
Test
- Java生产者消费者的模拟器,核心代码是用线程做的,能体现出线程互斥同步的状况-Java producers and consumers of the simulator, the core code is done with thread, to reflect the status of the thread mutex synchronization
实现生产者和消费者问题
- 实现生产者和消费者问题。输入:由英文字母和数字组成的不定长度字符串数组,例如{“abc”,”23d”,”1a”}。每隔100毫秒,生产者线程读入数据,放入生产者公用的仓库;消费者从仓库中取出字符串,进行倒置,-Producers and consumers realize the problem. Input: letters and numbers from the adventitious length of the string array, for example, {" ab
ProducerConsumer
- java写的另一个生产者消费者问题 java写的另一个生产者消费者问题-java write another producer consumer problem java write another producer consumer problem
ProCon
- java代码,用线程实现生产者消费者问题的小的例子-java code, using threads to achieve the producer consumer problems
consumerproducer
- 该代码是用java编写的生产者消费者的经典问题-The code is written in java a classic problem of producers and consumers of
MultiThreading
- 生产者消费者问题的JAVA解决,线程同步问题-Productor and Consumer, Using Java to implement thread problem
Thread_ProducerConsumer
- java经典的线程示例代码,死锁\生产者,消费者模拟-sample code java classic thread, deadlock \ producers, consumers simulation
Mystack
- 写一个线程安全的栈,底层用LinkedList实现,提供进栈和 出栈的方法,应用生产者-消费者模式。另外写两个类, 分别实现生产和消费者。 -Write a thread safe stack, the bottom with a LinkedList implementation, providing out of the stack into the stack and method of application of the producer- consumer model
producerANDconsumer
- 操作系统经典实验,模拟生产者消费者问题,采用java语言编写,互斥同步-OS classic experiment, simulation producer consumer issues, using java language, mutual exclusion synchronization
producerConsumer
- 生产者消费者问题,主要实现同步与互斥的问题-producerconsumer
test
- 本代码主要用于实现生产者消费者问题,本人能力有限代码不好。
Productor-Consumer
- 利用Java的多线程机制很好的处理生产者—消费者这个经典问题!有助于对生产者-消费者问题的理解和Java多线程机制的掌握!-Use of Java multithreading handled well producer- consumer this classic problem! Contribute to the producer- consumer understanding of the issues and multi-threading mechanism of Java mast
ProducerConsumer
- 分析进程的同步与互斥现象,编程实现经典的进程同步问题——生产者消费者问题的java模拟 -Producer and Consumer
czxt
- 此程序是操作系统中生产者-消费者问题的一个演示程序,也是JAVA种多线程的一个程序,采用SWT编写的界面-This program is the operating system producer- consumer issues, a presentation program, but also multi-threaded JAVA kind of a program written using SWT interface
prodecer-and-consumer
- 使用java语言编程实现了操作系统中的经典问题-生产者消费者问题,该程序中使用的核心知识是多线程-Java programming language using the operating system in the classic problem- the producer consumer problem, the program is used in multi-threaded core knowledge
1
- 生产者消费者的关系,生产者生产,消费者消费。-The relationship between producers and consumers, producers, production and consumer spending.
1
- 生产者消费者同步问题一组生产者向一组消费者提供消息,它们共享一个有界缓冲池,生产者向其中投放消息,消费者从中取得消息。-Producer-consumer synchronization to a group of a group of producers to provide consumers with information, they share a community pool, which put the message to the producers, consumers obt