摘要
操作系统中引入进程使得计算机系统性能得到很大提升,系统中同时存在多个进程,它们彼此独立,各自按照自己的方式运行,同时共享系统中的资源,其中重点问题是进程间的同步。针对进程同步中的经典同步问题——生产者-消费者问题进行详细分析,并采用信号量机制实现其同步。
The operating system is introduced in the process of making a big computer system performance upgrade system, there are multiple processes at the same time, they are independent of one another, each according to its own run, and they also share system resources, and the key problems is the inter-process synchronization. Aiming on the process of synchronization of the classic synchronization problem producers and consumers problem, conducts a detailed analysis, and uses semaphore mechanism to realize its synchronization.
出处
《现代计算机》
2009年第12期81-83,共3页
Modern Computer
关键词
进程同步
生产者-消费者问题
信号量
PV操作
Process Synchronization
Producer-Consumer Problem
Semaphore
PV Operation