Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Graph program
Title: readerwriter Download
 Description: Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h, h,used as a counter and mutex between 2 writers.Main function create 3 reader thread and 2 writer thread.The writer thread has a higher priority by using SetThreadPriority() function
 Downloaders recently: [More information of uploader huia85njg33]
 To Search:
File list (Check if you may need any files):
 

reader&writer.cpp
pudn.txt
    

CodeBus www.codebus.net