Description: Under Linux readers to write, 1) write- write mutually exclusive: You can not have two writers write 2) read- write mutually exclusive: You can not have a thread while another thread writing ) Reading- Reading allowed: you can have one or more readers 4) priority readers additional restrictions: If you apply for a read operation has been another reader being read, the readers may read 5) write priority additional restrictions: If a reader application for the read operation has another write access to shared resources in the waiting, the reader must wait until not write in the wait state to read.
To Search:
File list (Check if you may need any files):
ReaderAndWriter.cpp