Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
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,db_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 destiny1891]
 To Search: readerwriter
File list (Check if you may need any files):
reader&writer.cpp
    

CodeBus www.codebus.net