Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode/Document OS Develop
Title: consumer_producer Download
  • Category:
  • OS Develop
  • Platform:
  • C/C++
  • File Size:
  • 1024
  • Update:
  • 2021-01-21
  • Downloads:
  • 0
  • Uploaded by:
  • muzuokai
 Description: 1. Buffer pool of N buffers as a critical resource: When the producer task reads data from the data source file, it will apply for a buffer and put the data in the buffer. The consumer task takes data from a buffer and prints out the contents. When a producer task is accessing the buffer, other producer and consumer tasks cannot access it. When a consumer task is accessing the buffer, other producer and consumer tasks cannot access the buffer. Mutex is used to access the buffer pool.
 Downloaders recently: [More information of uploader muzuokai]
 To Search:
File list (Check if you may need any files):
FilenameSizeDate
新建文件夹\Consumer_Producer.txt 2452 2020-06-18
新建文件夹\content.txt 8 2020-06-19
新建文件夹\producer_consumer.c 2352 2020-06-19
新建文件夹 0 2021-01-21

CodeBus www.codebus.net