搜索资源列表
Linux下的读者写者 xx
- 在Linux下实现读者写者的问题,采用的是多线程的方法-under Linux readers to write to the problem, using a multi-threaded approach
读-写
- 在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题。-the windows 98/2000, the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each
Reader_Writer1
- 这是读者写者的显示程序,这样可以让大家的程序更加完美-readers to write this is the display program, which would allow all the procedures more perfect
writer_reader
- 经典的读者写者问题。设计读写线程,实现对同一文件的读和写的同步。 1.一个线程在写时,其他线程不允许写。 2.一个线程在写时,其他线程不允许读。 3.一个线程在读时,其他线程不允许写。 4.一个线程在读时,其他线程允许读。 -readers to write the classic problem. Design literacy threads, to achieve the same document simultaneously read and write. 1
cdy.cpp
- 读者写者问题 包括读优先 写有先 程序写的不错,希望大家参考-readers to write persons including reading a first priority was to write a good procedure, we hope reference
Java_Reader_Writer
- 用java语言实现IPC经典问题中的读者写者问题-with java language IPC classic problem of the problem of readers to write
读者写者模拟
- 模拟操作系统里实现读者-写者问题的程序实例。用vc++编写,直接打开工程文件即可调试。-operating system simulation, achieving readers - who wrote the program examples. Vc with the preparation, direct project documents can be opened debugging.
读者写者问题
- 实现读者写者问题,有较好的用户交互式界面。-achieve readers who write, a better interactive user interface.
读者-写者问题
- 在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题-the windows 98/2000, the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each t
另一个读者写者问题
- 创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题。-the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each thread according to the corresponding t
读者写者(LCC)
- 操作系统经典算法进程同步之读者写者问题,编译器LCC2005版-classic operating system process synchronization algorithm Readers write problem, the compiler version LCC2005
读者写者2005
- 这是一个操作系统 的精典算法 ,是关于读者写者问题 的,是用c来模拟的,-This is a classic algorithm operating system is on the readers who wrote in, is to simulate c,
读者与写者
- 操作系统实验,进程同步与互斥读者写者问题,用vc实现-experimental operating system, and coordinate the process of the readers who wrote, using vc achieve
读者与写者模拟
- 在Windows Xp 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制: 读者-写者的读写限制(包括读者优先和写者优先) 1)写-写互斥,即不能有两个写者同时进行写操作 2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写 3)读读允许,即可以有2个以上的读者同时读 将所有的读者和所有的写者分别放进两个等待队列中,当读
Access
- 在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 -In Windows2000 environment,
R-W
- 读者写者问题:里面有详细使用说明,要实验报告的另M我-Readers write the problem: there are detailed instructions to report another experiment M I
ReaderWriter
- 这是一个读者写者进程,实现写者优先算法,有操作界面,放一个txt文件,进行计算-Reader Writer
TestReaderAndWriter
- 操作系统中读者写者问题的模拟实现采用java多线程方式实现-Reader and Writer(Reader First)
读写优先
- 事件对象解决读写者问题实现P、V操作用Win32提供的同步对象实现P、V操作,并使用它们解决读者-写者问题 利用事件机制模拟多值信号量。(Event object solves the problem of reader writer)
读写者代码
- 本次实验中,是进行设计解决读写者问题。假如只有一个文件的情况下,多个读者进程和多个写者进程都要进行访问该文件。当有读者进程在时,写者进程不能进行操作;同样,如果存在写者进程,则不能有读者进程存在,从而保证读取的数据是最新的。此外,为保证数据的正确性,读者之间只能存在一个。即一次只能有一个写者进程对数据区进行访问。而读者进程则没有限制。(Reader and writer's problem)