搜索资源列表
linyisen
- 生产者与消费者问题,一共12个缓冲池,生产和消费时间可以自己设定-producers and consumers, a total of 12 buffer pool, the production and consumption of time can be set itself
operatingsystem
- 对进程的同步机制实践,利用pv操作实现对共享缓冲区的同步机制-the process of synchronization mechanism practice, the use of pv operation to achieve the shared buffer synchronization mechanisms
tercomm
- 进程间共享内存通讯,采用两对缓冲区收发数据。-processes shared memory communications, using two pairs of sending and receiving data buffer.
Spooling.rar
- 操作系统中的缓冲池技术实现的源代码,很实用,Operating system buffer pool technology source code, it is practical
Test5
- 解决多线程播放时间 可以播放多个文件 并同时节省缓冲时间-Solve the multi-threaded playback time can play multiple files and at the same time to save the buffer time
29_161625_pc
- 生产者与消费者问题算法实现,功能要求:根据进程同步机制,编写一个解决上述问题的可视化程序,可显示缓冲池状态、放数据、取数据等过程。 具体参数:有4个生产者进程,分别为P1、P2、P3和P4; 有4个消费者进程,分别是C1、C2、C3和C4; 缓冲区单元个数N=15; 不同的生产进程可生产不同的产品,自己可任意定义,在本程序中是直接将相应生产者代号放入缓冲区,消费时将某消费者消费某生产者的信息显示出来 -Producers and consumers, the issue
producer-consumer-problem
- Introduction In this project, we will design a programming solution to the bounded-buffer problem using the producer and consumer processes . The solution uses three semaphores: empty and full, which count the number of empty and full slots
shengchanzhexiaofeizhe
- 生产者 消费者线程,建立五个缓冲区,生产同时进行,生产者生产产品,所有消费者必须都取完-Producers of consumer thread, the establishment of the five buffer zone, production at the same time, producers of the production of products, all consumers must have taken the End
MultilineAPIload
- 实现双线程高效下载 线程A从网络中读取一个数据块,存储到内存的缓存中。 线程B从缓存中读取内容,存储到文件中。-mutilineload Aline read datablockfrominternet ,save to the buffer in RAM. Bline read context from buffer,then save to file.
CommTest
- 1.使用多线程的串口类。有读线程和写线程,发送、接收缓冲区(默认2048字节),满足高性能的收发要求。 2.提供事件通知回调函数接口,可以实现接收的消息接口 3.可以监控Modem事件,提供流控接口。 4.调用接口简单。使用例程参考CommTest.dsw-1. Using multi-thread serial port class. Have read the thread and write threads, send, receive buffer (def
OS-duxie-duoxianchen
- 操作系统读者写者问题的多线程实现,在读者优先的条件下模拟多个读者写者的对缓冲区的使用情况。-Persons operating system readers to write multi-threaded implementation of the priority conditions in the simulation of readers more than readers who write the buffer usage.
PV
- 用多线程实现“生产者-消费者问题”本作业要求设计并实现一个进程,该进程拥有一个生产者线程和一个消费者线程,它们使用N个不同的缓冲区(N为一个自定义的确定的数值,例如N=32)。你需要使用如下信号量:一个互斥信号量,用以阻止生产者线程和消费者线程同时操作缓冲区列表;一个信号量,当生产者线程生产出一个物品时可以用它向消费者线程发出信号;一个信号量,消费者线程释放出一个空缓冲区时可以用它向生产者线程发出信号; -Achieved with multi-threaded " producer
The-problem-of-product-and-consume
- 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。-The producer- consumer qu
HW3
- c语言,多线程实现简单的终端处理器,读取文件,遇到特殊字符时采取相应操作 -A multi-threaded program using the pthread library. Your assignment is to write a program that emulates a simple terminal handler. The terminal handler process consists of three threads. Thread 1reads charac
pro-cus
- 生产者消费者源程序,生产者生产的东西进入缓冲池,消费者从缓冲池中取东西-Producers and consumers producers produce something into the buffer pool, take something from the pool of consumers
sx
- 操作系统中进程同步的问题,生产者-消费者模型的代码 在同一个进程地址空间内执行的两个线程。生产者线程生产物品, 然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线 程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物 品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者 线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有 满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出 来。 -Operating systems pr
buffering
- 利用缓冲池和多线程技术,实现生产者和消费者同步的问题。只有缓冲池中有空闲的时候才可以生产产品;只有缓冲池有产品的时候才可以消费。-Pool and multi-threading technology to realize the synchronization problem of the producers and consumers. Buffer pool idle time can produce products pool products when it can be consu
p_c
- 生产者消费者问题,生产者向缓冲区写,通过进程间的同步,消费者读出缓冲区中的内容。-Producers and consumers, producers write to the buffer, through inter-process synchronization, consumers read out the contents of the buffer.
ff
- java实现操作系统多线程 两个buffer 一个仓库-java multithreaded operating system to achieve a warehouse two buffer
JGroup_Stock
- Using the jar file of JGroup, these files realize to do a stock system which could sell or buy stocks in different machines synchronized and recover from crash easily with buffer for history message
