摘要
操作系统中生产者和消费者的进程同步问题是计算机中一个经典的抽象模型。利用信号量机制以及Windows API函数解决生产者和消费者问题的算法,可以解决生产者和消费者之间的同步互斥关系。
The process synchronization of producers and consumers in operating system is a alassic model in computers. We can solve it using semaphore and windows API.
出处
《吉林省经济管理干部学院学报》
2008年第3期78-81,共4页
Journal of Jilin Province Economic Management Cadre College
关键词
信号量
同步
互斥
缓冲区
Semaphore
Synchronization
Mutual exclusion
Buffering area