搜索资源列表
w-r
- 一个实现读写者问题的代码,已通过编译,编译后调试即可-achieve a literacy problem of the code, compile, debug can be compiled
Binary_search
- This section allows you to browse the files contained within a ZIP file without having to download it first. The file list below shows all of the files those that are in a text format that we recognize the extension for (e.g. source code files) are
RW
- 读者写者问题源码.包含我的注释. 没有加入工程文件. 只有一个R&W.cpp.在vc++6.0下编译成功. 在Windows 2000 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n 个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制实现读者-写者问题(读者优先)。 读者-写者问题的读写操作限制: 1)写-写互斥; 2)读-写互斥; 3)读-读允许; 读者优先的附加限制:如果一个读者申请进行读操作时已有另一读者正在进行