Welcome![Sign In][Sign Up]
Location:
Downloads Documents Software Engineering
Title: readerwriter Download
 Description: Experiments using semaphore to implement a reader- writer problem (A) purpose of the experiment Understand the process (or thread), and the concept of semaphore (b) of the experiment content 1, define a data cache buffer, and synchronization for mutual exclusion semaphore. 2, the definition of a reader function: When a write buffer in the occupation, the reader should wait until the writer is no longer used in the buffer. When there are other readers in the occupied buffer, the reader can read buffer operations. When the buffer has data, from which a data read and displayed and then exit. When the buffer contains no data, they should wait until the buffer has data to read. 3, define the function of a writer When a reader occupied buffer, the writer should wait until all of the readers exit. When the buffer occupied by other writers, the writer should wait until the write buffer occupied by exit. When the buffer in their free time to write should be written in a
 Downloaders recently: [More information of uploader channpc]
 To Search:
File list (Check if you may need any files):
瀹為獙涓

CodeBus www.codebus.net