搜索资源列表
comsumer_producer
- 多线程问题:生产者与消费者问题升级(多个生产者多个消费者同时工作)具体C语言实现-Multi-threading issues: producer and upgrade consumer issues (multiple consumers simultaneously multiple producers) specific C language
exampleProducers-and-consumers
- 通过操作系统编写一个关于生产者与消费者的问题-Through the operating system to prepare a report on the producer and consumer issues
MultithreadingRelated
- 多线程代码 经典线程同步互斥问题 生产者消费者问题 -Multithreading Related
Producers-and-consumers
- 生产者与消费者 设计要求:设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程,父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中,两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。-Producers and consumers Design requirements: to design a program that creates three sub-p
the45165et
- 进程的同步是操作系统处理机管理的重要内容,本实验要求学生理解生产者与消费者问题模型,掌握解决该问题的算法思想,学会使用同步机制。-An important part of the process of synchronization is managed by the operating system processor, this test requires students to understand the problems of producers and consumers model
test
- 基于操作系统原理进程调度[生产者消费者]算法,实现的银行排号系统-A number of banks System
Producer_Consumer
- 我是编程小菜鸟= =,这是一个信号量互斥的经典问题,消费者生产者问题的简单实现,使用线程方式,所以在调试时须选择多线程方式。-I was programming a small rookie = = This is a classic problem of mutual exclusion semaphores, producer consumer problem s simple implementation, using threads, so when debugging multith
ProducerConsumer
- C++生产者消费者代码实现,详细注释,挺好的适合学习-C++ producer consumer code, detailed notes, very good for learning
TestTaskMgr
- 自己写的,C#的多线程并发,生产者消费者模式。查库模拟生产,多线程消费者并发发送获取的数据。(该源码用于学习用途,不能用于正式环境)-It s written by myself, C# multithread concurrency demo, producer-consumer model. Query to simulate the process of production, and multi-threaded concurrent consumers to send all the
File-Operations
- 在 Linux 中 FIFO 是一种进程之间的管道通信机制。Linux 支持完整的 FIFO通信 机制。 本实验内容,通过使用文件操作,仿真 FIFO(先进先出)结构以及生产者-消费者运行模型。 本实验中需要打开两个虚拟终端,分别运行生产者程序(producer)和消费者程序(customer)。此时两个进程同时对同一个文件进行读写操作。因为这个文件是临界资源,所以可以使用文件锁机制来保证两个进程对文件的访问都是原子操作。 先启动生产者进程,它负责创建仿真 FIFO 结构的文件(其实
12
- 这是一个经典的生产者消费者算法,适合刚刚学习操作系统的小伙伴学习-This is a classic producer-consumer algorithm, suitable for just learning junior partner of the operating system
producerandconsumer
- 汇编语言编写的生产者消费者问题的实验报告和代码,北邮操作系统大作业-Written in assembly language producers and consumers of lab reports and code, Beijing University of Posts and Telecommunications operating system big job
110104010104
- 解决的主要问题 (1)MFC界面设计 (2)模拟生产者消费者的互斥操作 (3)各信号量及互斥体的使用 线程 线程是程序独立运行的基本单位,一个程序通过执行多个线程可以提高机器本身资源的利用率,同时也可以完成多任务并行运行的操作,多线程可以实现并行处理,避免了某项任务长时间占用CPU时间。 互斥体 互斥体与临界区很相似,但是使用时相对复杂一些,它不仅可以在同一应用程序的线程间实现同步,还可以在不同的进程间实现同步,从而实现资源的安全共享。 信号量 信号量是一个
ProducterConsumerDemo
- java中经典应用,生产者消费者的使用例子,经过实际测试,两个线程交替执行,达到生产一个消费一个的功能。-the famous use in java launage,the productor and consumer pratiques...
ProducerConsumer
- 消费者生产者队列实现数据显示,队列接收数据,生产者生产,消费者消费。-Consumer producer queue to achieve data show that the queue to receive data, producer production, consumer spending.
pv
- 进程间同步与互斥,两个生产者三个消费者,使用信号量-Inter-process synchronization and mutual exclusion, three two producers to consumers, using semaphores
piano
- labview 钢琴程序,自定义控件+生产者消费者结构-labview piano program, custom+ producers and consumers Structure
ThreadD
- java 线程同步,生产者和消费者,运用到同步锁机制,实现多线运行-java thread
DemoThread
- java多线程中生产者消费者模型 1、生产者仅仅在仓储未满时候生产,仓满则停止生产。 2、消费者仅仅在仓储有产品时候才能消费,仓空则等待。 3、当消费者发现仓储没产品可消费时候会通知生产者生产。 4、生产者在生产出可消费产品时候,应该通知等待的消费者去消费。-producer and consumer model
Thread
- 线程练习,线程同步问题,生产者消费者问题。-Thread exercises, thread synchronization problems, producers and consumers.