Description: In Windows2000 environment, create a console process, this process contains n threads. Using this n that n threads to a reader or writer. Each thread in accordance with the corresponding test data files (described later) to read and write operation requirements. Semaphore mechanism with the respective priorities and the achievement of the readers who write priority issue. Readers- to write the issue of restrictions on the read and write operations (including readers and write priority priority) 1) to write- write mutex: You can not write those two write operations at the same time 2) read- write mutex: not at the same time there is a line way in the reading and writing another thread. 3) Reading- Reading allowed: You can have one or more readers to read.
- [ossue] - the Windows environment, Windows environ
- [VC++-QQ] - Hitomi using VC++ Wife of mother
- [WindowsAPI] - Chinese version of windows API. Include:
- [MFC_QQ] - use MFC to create a QQ dialog to be a be
- [pc] - Classic problems of the operating system
- [ado-access] - Vc console in the dynamic use ado to con
- [experiment2] - err
- [uCOS-II] - uCOS-II to achieve the producer of consu
File list (Check if you may need any files):
reader and writer.doc
Reader-Write.cpp