Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop Console
  • Category : Console
  • Tags :
  • Update : 2012-11-26
  • Size : 2kb
  • Downloaded :0次
  • Author :镡皓琳
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
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
Packet file list
(Preview for download)
code.c
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.