Description: Create a console. This process contain n threads. 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. Signal mechanism volume respectively priority and writing preferred reader s- who write. Readers- limit read and write operations to write the problem (including the readers of priority and writing preferred): 1) Write- write exclusive, that can not have two writers write the same time. 2) read- write exclusive, that can not simultaneously reading a thread while another thread in writing. 3) Read- allows, that can have one or more of those who read it. Readers priority additional restrictions: If an application for readers read another operation has been under way readers read operation, the reader can start to read. Additional restrictions writer priority: If an application for readers read another writer has to start a read operation is waiting to access a shared resource, the reade
To Search:
File list (Check if you may need any files):
exp2RW.cpp