搜索资源列表
45g4g
- 大学本课操作系统课程设计指导书(1)假脱机技术的模拟(2)读者—写者问题的模拟-university courses on operating system design based curriculum guide book (1) at the off-line simulation technology (2) the reader-written persons Simulation
CWriterReader
- C实现的操作系统的读者写者问题,一份报告,包括代码。
写者与读者实验报告
- 在Windows Xp 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制: 读者-写者的读写限制(包括读者优先和写者优先) 1)写-写互斥,即不能有两个写者同时进行写操作 2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写 3)读读允许,即可以有2个以上的读者同时读 将所有的读者和所有的写者分别放进两个等待队列中,当读
597971
- 操作系统进程同步与互斥读者与写者问题部分源码-OS process mutex synchronization and readers are part of the problem and write source code
caozuoxitong.doc
- 操作系统课程设计报告,实现读者与写者问题。-Operating systems curriculum design report, the reader realize the problem and write.
PV
- 读者写者问题,共享原则如下:1、读/写互斥访问;2、写/写互斥访问;3、允许多个读者同时对文件进行访问。-semaphore rmutex=1,rwmutex=1 int count=0 Cobegin reader: writer:
readerwriter
- 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 当buffer中没有数据时,应等待,直到buffe
rr
- 读者写者问题设计报告。很详细。 包括: 设计概述 设计目的与内容 设计分析 程序实现 程序调试 实验结果 -Reader-writer problem design report. Very detailed. Include: Design Overview Design and content designed to achieve program debugging program results
reader
- 操作系统读者写者问题实验报告,内附程序源码,实验结果图等,详细易懂-Operating system readers who write lab report, containing a program source code, experimental results map, detailed and easy to understand
00498691morethreadreader
- 使用多线程写的读者写者问题是课程设计要用到的很重要的文档-Courses on operating system design, readers who write, written using C language to meet the requirements of the German
windowsProcess
- 秒杀多线程读者写者问题 用读写锁来解决读者写者问题会使代码非常清晰和简洁。-Processes of Wriiter & Reader
Operating-systems-curriculum-design
- 利用模拟用信号量机制实现读者和写者问题:通过用户控制读进程和写进程,反应读者和写者问题中所涉及的进程的同步与互斥。-Using simulated using semaphore mechanisms readers and writers problem: by the user to control the reading process and the writing process, the reaction synchronization and mutual exclusion pr