Analysis and Realization of Producer/Customer Problem
Yan Bing · Xihua Daxue xuebao. Zhexue shehui kexue ban · 2006
This paper points out the general way for solving the communication Problem(Producer/Cutomer Problem),describes the way of sharing the buffer area by DLL in Windows System for the Producer processes(threads) and the Customer processes(threads).By using the approach the Producer process (thread) and the Customer process(thread) can share the same buffer area and access the data in the area simultaneously,and the commutation and operational rate of the processes is improved,thus the system has a high efficiency.