Description: Design and Implementation of semaphores and P/V synchronization mechanisms operate reader/writer problem (1) Set the readers, who write the number of input (interface) realize readers who write dynamically created process (2) signal the amount of P/V operation synchronization mechanisms to achieve writer priority readers/writers problem. (3) design and implement the results (interface), including: Dynamic display multiple reader or a writer read/write operations are mutually exclusive states: Display a read or write operation is ongoing process and wait for the process to read or write operation Dynamic Display wrote preferred process: that is, when a reader processes in reading, there are writers process requires a write operation, the subsequent reader process should wait and after the read operation when the read operation of the reader end of the process, writer waiting for the process to be able to Now write operation. Design appropriate queue. (4) read/write operation is dela
To Search:
File list (Check if you may need any files):
读者写者问题\Debug\input.txt
............\.....\StdAfx.obj
............\.....\vc60.idb
............\.....\vc60.pdb
............\.....\读者写者问题.exe
............\.....\读者写者问题.ilk
............\.....\读者写者问题.obj
............\.....\读者写者问题.pch
............\.....\读者写者问题.pdb
............\input.txt
............\ReadMe.txt
............\StdAfx.cpp
............\StdAfx.h
............\读者写者问题.cpp
............\读者写者问题.dsp
............\读者写者问题.dsw
............\读者写者问题.ncb
............\读者写者问题.opt
............\读者写者问题.plg
............\Debug
读者写者问题