搜索资源列表
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.
readandwrite
- 读者写者进程管理,自定义读者写者优先关系,完成进程建立,调度!-Readers to write by process management, custom readers to write the relationship between those who give priority to complete the process of building, scheduling!
RandW
- 读者写者进程同步问题解决方案,利用临界区,信号量来实现进程或者线程同步-Reader-writer synchronization process solutions, using the critical area, the signal values in order to achieve the process or thread synchronization
1123
- 创建一个控制进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。运行结果显示要求:要求在每个线程创建、发出读写申请、开始读写操作和结束读写操作时分别显示一行提示信息,以确定所有处理都遵守相应的读写操作限制。 读者-写者问题的读写操作限制-Create a control process, this process contains n threads. Use of these n thread
Reader_and_Writer
- 操作系统中读者写者算法的实现,涉及到系统互斥资源的争用和释放问题,初学者可以参考-Readers to write the operating system the realization of those algorithms, involving mutual exclusion of resources to the system and the release of contention issues, beginners can refer to
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
Reader_Writer
- 操作系统中的进程互斥与同步问题的一个例子 即读者写者问题 源码 -Operating in mutual exclusion and synchronization issues that readers write one example of the problem of source
R_W
- 是关于读者写者的代码 写的还是很详细的 是用C++进行写的-about reader and writer
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
solutionofreader-writerproblem
- 解决读者-写者多线程同步问题,在Windows环境下运用Visual C++ 6.0实现。-Address the reader- writer multithreading synchronization problems in Windows environment using Visual C++ 6.0 to achieve.
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
rw
- 读者写者具体实现代码,当读者操作时不允许新的写着操作,当写者操作时不允许其他任何操作-Concrete implementation of the code written by readers, when readers read operation does not allow the new operation, when the writer does not allow any other operations operations
duzheyuxizhe
- 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 读者优先的附加限制:如果读者申请进行读操作时已有另一个读者正在进行读操作,则该读者可直接开始读操作。 写者优先的附加限制:如果一个读者申请进行读操作时已有另一个写者在等待访问共享资源,则该读者必须等到没有写者处于等待状态后才能开始读操作。 运行结果显示要求:要求在