资 源 简 介
在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者一写者问题。-Windows 2000/XP/2003 environment, the creation of an N threads include the console process. Use of these n threads to express n readers who write. Each thread according to the corresponding test data files (with a) on the request and write. Using signal mechanism volume respectively priority and the readers who wrote a priority of readers wrote persons.