搜索资源列表
make_use
- 使用C语言编写的生产者消费者的问题 使用了多线程 按PV操作实现-Using the C language, the producer consumer problem using multi-threaded operation to achieve by PV
running3
- 模拟PV操作同步机构,从键盘上输入一组字符,由生产者每次读入一个字符供消费者输出。运行模拟程序,打印依次读入的字符和经消费者输出的字符。-PV operation synchronization, analog, keyboard input from a group of characters, from the producer read a character for each consumer output. Run the simulation program, print the c
jinchengguanli
- 进程管理之PV操作, 进程管理之PV操作, 进程管理之PV操作。-Process management of PV operation Process management of PV operation Process management of PV operation Process management of PV operation Process management of PV operation Process management of PV op
cao
- 操作系统,公共厕所使用问题(PV信号量问题)-Operating system, public toilets (semaphore)
2
- 在windows操作系统上实现生产者和消费者问题PV操作实现的源代码。-PV producers and consumers to achieve the source code operating on windows operating system.
Cashiers-and-customers
- 收银员与顾客问题(信号量操作) 设计目的:了解信号量机制,了解并掌握进程同步和互斥机制,熟悉信号量的操作函数,利用信号量实现对共享资源的控制。 操作系统是一门工程性很强的课程,它不仅要求学生掌握操作系统的工作原理和理论知识,也要求学生的实际动手能力,以加深对所学习内容的理解,使学生熟练地掌握计算机的操作方法,使用各种软件工具,加强对课程内容的理解。 要求:在某超市里有一个收银员,且同时最多允许有n个顾客购物,我们可以将顾客和收银员看成是两类不同的进程,且工作流程如下图所示。为了利用P
PVSample
- PV信号量的实现,使用信号量来解决进程之间的各种同步问题-Implementation, using semaphores PV semaphore to solve various synchronization between processes
sijispy
- 司机与售票员 PV操作 私有信号量操作 线程与进程-driver and saler
aaa
- 有一个理发师,一把理发椅和n把提供给等候理发的顾客座的椅子。如果没有顾客,则理发师便在理发椅子上睡觉;当第一个顾客到来时,必须唤醒该理发师进行理发;如果理发师正在理发时又有顾客到来,则如果有空椅子可坐,他就坐下来等待,如果没有空椅子,他就离开理发店。 为理发师和顾客各编一段程序描述他们的行为,要求不能带有竞争条件,试用P、V操作实现。(There was a barber, a barber's chair and a chair n offered to the customer waiti
pv
- 使用多线程对生产者与消费者问题进行模拟;(Producer-consumer problem)