搜索资源列表
Reader_Writer
- 操作系统中的读者写者问题算法.该算法为为读者优先。-Reader-Writer problem algorithm in the operating system
rw
- 在Windows下完成读者写者多线程同步任务,里面附加有winsock网络通信程序代码。-In Windows, the completion of readers who write multi-threaded synchronization tasks, which add a winsock network communication code.
simplePC
- Windows进程和线程创建方法实现一个简单的读者写者程序,读者将1~10十个数字一次填入临界区gData,当且仅当gData被读者消费后,写者才可以写入下一个数。-Windows process and thread creation method to implement a simple reader writer program, readers will be number 1 to 10 ten critical areas once populated gData, if and
reader_and_writer
- 读者写者问题模拟的实现,vs2008开发环境,有助于理解windows下的多进程机制-the reader and writer problem
code
- 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 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
duzhe
- 读者写者单缓冲,vc编程,操作系统经典问题 文件名包括:debug thread 读者写者(单缓冲) exe运行文件-writer and reader problem
wr
- 操作系统多线程/进程读者写者问题 vc++ 报告 源码-The operating system multithreading/process reader source code. The problem of vc++ report
CWriterReader
- 用信号量来实现读者写者问题。 学习NachOS的使用方法 理解和运用信号量、PV原语、进程间的同步互斥关系等基本知识。 -Semaphores to implement the reader with a writer problem. Learning NachOS understanding and application of use of semaphores, PV primitives, synchronization between the mutually ex
rw1
- 操作系统中的读者写者问题,实现了写者优先。-Readers to write in the operating system were the problem, to achieve the writing is preferred.
read
- 本程序是一个描写读者-写者问题中的读者问题的程序,希望能帮助到你。-This program is a descr iption of the reader- writer problem in the program in question readers, hoping to help you.
reader_writer.c
- 进程间通信中经典的读者-写者问题,用信号量实现同步和互斥。-Interprocess communication in the classic reader- writer problem, synchronization with semaphores and mutexes.
00
- 读者写者问题 你们都懂得,可以运行 写——写互斥 读写互斥-read write
Cpp2
- 读者写者问题,完成了读写者间的同步和不同读者的互斥,读者优先。-Reader writer problem
Reader
- 读者写者问题的基本解决思路,参考了windows编程一书-ReaderWriter problem
reader-writer
- 用多线程解决读者-写者问题,实现读写互斥,写写互斥,读读同步。-Readers- write the problem of multi-threaded solution, to achieve read and write mutex, write mutex, read synchronization.
read-and-write
- 读者-写者的读写限制(包括读者优先和写者优先) 1)写-写互斥,即不能有两个写者同时进行写操作 2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写 3)读读允许,即可以有2个以上的读者同时读-Readers- to read and write restrictions (including readers, priority, and the writer takes precedence) A) write- write mutually exclusive, i
Reader-Writer
- 创建一个控制台进程,此进程包含n个线程,用这n个线程来表示n个读者或写者,每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作,用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先): 写-写互斥,即不能有两个写者同时进行写操作。 读-写互斥,即不能同时有一个线程在读,而另一个线程在写。 读-读允许,即可以有一个或多个读者在读。 读者优先的附加限制:如果一个读者申请进行读操作时已有另一个读者正在进行读操作,则该