搜索资源列表
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
BarberAndCustomer
- 1)用C语言或C++语言编程实现P、V原语并用P、V原语描述如下生产者-消费者问题: 有一个理发师,一把理发椅和n把提供给等候理发的顾客座的椅子。如果没有顾客,则理发师便在理发椅子上睡觉;当第一个顾客到来时,必须唤醒该理发师进行理发;如果理发师正在理发时又有顾客到来,则如果有空椅子可坐,他就坐下来等待,如果没有空椅子,他就离开理发店。 为理发师和顾客各编一段程序描述他们的行为,要求不能带有竞争条件,试用P、V操作实现。 (2)分析 此题可看作是n个生产者和1个消费者问题
tongbuhuchi
- 实现并发线程之间的同步和互斥问题 解决一类典型的进程间同步问题,如生产者-消费者问题,读者-写者问题等-To achieve synchronization between concurrent threads and the mutex problem solving process of a class of synchronization between the typical problems, such as the producer- consumer issues, reade
OS
- 本学期操作系统的两次试验打包,银行家算法,PV操作中的哲学家就餐问题和生产者消费者问题,小程序仅供参考~-This semester, two tests of the operating system package, bankers algorithm, PV operation of the dining philosophers problem and producers of consumer issues, small programs for reference ~
thread
- 线程信号量实现生产者消费者问题,运用缓冲队列实现缓冲区。-Semaphore thread producers of consumer issues, the use of the buffer queue implementation buffer.
pro_con.tar
- 使用C语言实现了经典的生产者消费者问题。-Producer and consumer problem implemented in C
PV
- 用多线程实现“生产者-消费者问题”本作业要求设计并实现一个进程,该进程拥有一个生产者线程和一个消费者线程,它们使用N个不同的缓冲区(N为一个自定义的确定的数值,例如N=32)。你需要使用如下信号量:一个互斥信号量,用以阻止生产者线程和消费者线程同时操作缓冲区列表;一个信号量,当生产者线程生产出一个物品时可以用它向消费者线程发出信号;一个信号量,消费者线程释放出一个空缓冲区时可以用它向生产者线程发出信号; -Achieved with multi-threaded " producer
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
ProduceraConsumer
- 用多线程的方法实现了生产者与消费者问题的模拟,关键技术是线程间通信和同步,通信采用消息模式-Achieved with multi-threaded simulation of producers and consumer issues
The-problem-of-product-and-consume
- 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。-The producer- consumer qu
ProducerConsumer
- 操作系统中经典的生产者消费者问题的模拟程序,基于MFC对话框,多线程,可随意添加生产者和消费者个数,动态显示缓冲池中的状态和生产者消费者的工作情况-Operating system issues the classic simulation program producers and consumers, based on MFC dialog box, multi-threaded, can easily add the number of producers and consumers, d
p-and-c
- 在Windows和Linux操作系统上,利用各自操作系统提供的Mutex和信号量机制(Win32 API或Pthreads),实现生产者/消费者问题-In the Windows and Linux operating systems, the use of their operating system provided Mutex and semaphore mechanism (Win32 API or Pthreads), to achieve the producer/consumer
multithreadSyn
- 多线程同步,解决生产者消费者问题,应用临界区、互斥量、信号量等多种方式-Multi-thread synchronization to solve the producer consumer problem, apply the critical region, mutexes, semaphores and other methods
Produce_Consume_Pthread
- 利用各自操作系统提供的Mutex和信号量机制(Win32 API或Pthreads),实现生产者/消费者问题-Provided by each operating system Mutex and semaphore mechanism (Win32 API or Pthreads), to achieve the producer/consumer problem
Fork
- 实现了以进程解决生产者消费者问题.适合初学者学习操作系统是学习-Implemented to process the producer consumer problem solving. Suitable for beginners to learn the operating system is to learn
cp_problem
- 生产者消费者问题的代码研究,模拟这两个对象操作的过程,同步互斥的体现。-Code producers and consumers of the problem, the simulation of these two objects during the operation, the synchronization of mutually exclusive expression.