Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Process-Thread
Title: The-problem-of-product-and-consume Download
 Description: The producer- consumer question is a classical advancement synchronization question, this question proposed most early by Dijkstra, with demonstrates the signal quantity mechanism which he proposed.Two threads carries out which in the identical advancement address space.The producer thread production goods, then lay aside the goods in a spatial buffer supply the consumer thread expense.The consumer thread obtains the goods from the buffer, then release buffer.When producer thread production goods, if does not have the spatial buffer available, then the producer thread must wait for the consumer thread releases a spatial buffer.When consumer thread expense goods, if does not have the full buffer, then the consumer thread is blocked, is produced until the new goods.
 Downloaders recently: [More information of uploader 603911398]
 To Search:
File list (Check if you may need any files):
The problem of product and consume.cpp
    

CodeBus www.codebus.net