搜索资源列表
Reader_Writer_plus
- 一个属于操作系统方面的一个著名的读者写者问题,通过它的实现可以对操作系统信号量机制和进程线程同步及通信有深刻的理解-A part of the operating system in a well-known readers to write those problems, through its implementation can be a mechanism and process of the operating system semaphore thread synchronizati
wr
- 读者与写着问题,可视化演示,直观的演示了读者写者问题。-Readers and reading problems, visual presentations, visual presentation of the reader-writer problem.
1123
- 创建一个控制进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。运行结果显示要求:要求在每个线程创建、发出读写申请、开始读写操作和结束读写操作时分别显示一行提示信息,以确定所有处理都遵守相应的读写操作限制。 读者-写者问题的读写操作限制-Create a control process, this process contains n threads. Use of these n thread
readerwriter
- 读者写者问题C++解法,使用互斥信号量,写者线程优先,共有3个读者2个写者-Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h,db_h,used as a counter and mutex between 2 writers. Main function create 3 reader thre
ReaderandWriter
- 读者写者问题的分析演示,多线程分配,程序短小实用-Readers write the analysis of the problem of presentation, multi-threaded allocation, short practical procedures
Reader_Writer
- 操作系统中的读者写者问题算法.该算法为为读者优先。-Reader-Writer problem algorithm in the operating system
writepriority
- 写优先的读者写者问题,使用共享内存,多个信号量实现。-writer and reader
xianchengthread
- 在Windows 2000 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制分别实现读者优先和写者优先的读者-写者问题。-In Windows 2000 environment, create a console that contains the process of n threads. N threads with which to express n a reader or writer. E
Minix_shell
- Minix下shell的实现 & 读者写者问题的实现 & piple监视系统的实现-Implementation & under Minix shell readers to write the problem of the realization of & piple Monitoring System
bingFa
- 在linux环境下,使用多线程和信号量机制实现经典的读者写者问题-In the linux environment, using multiple threads and semaphore mechanism to bring readers to write the problem of classic
duzheyuxizhe
- 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 读者优先的附加限制:如果读者申请进行读操作时已有另一个读者正在进行读操作,则该读者可直接开始读操作。 写者优先的附加限制:如果一个读者申请进行读操作时已有另一个写者在等待访问共享资源,则该读者必须等到没有写者处于等待状态后才能开始读操作。 运行结果显示要求:要求在
OS_ReaderWriter
- 计算机操作系统编程。解决读者写者问题,采用C++进行编写-Computer operating system programming. Readers to write to solve those problems, were prepared using C++
readerwirter
- 读者写者问题,操作系统的经典实验,用c实现-Reader-writer problem, the operating system of the classic experiment, realized with the c
reader_writer
- 计算机操作系统的实验报告——读者写者问题-Experimental Report of the computer operating system- the reader-writer problem
reader_and_writer
- 读者写者问题模拟的实现,vs2008开发环境,有助于理解windows下的多进程机制-the reader and writer problem
code
- 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 当buffer中没有数据时,应等待,直到buffe
readerwriter
- 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 当buffer中没有数据时,应等待,直到buffe
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.
3-2
- 操作系统经典问题——读者写者问题VC 6.0源码-Classic problem of the operating system- readers to write source code VC 6.0 persons
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