节点文献
进程互斥与同步解析
Demonstration of Process Mutual Exclusion and Synchronization
【摘要】 在操作系统的教学中,用信号量来实现进程的同步与互斥是一个重点和难点,介绍信号量的概念及能对信号量进行的操作。在理解进程间同步与互斥关系的基础上,详述如何用信号量来实现进程间的同步与互斥。在分析传统教材中案例信号量设置不合理的问题后,提出新的信号量设置方式。
【Abstract】 It’s very important and difficult to realize process synchronization and mutual exclusion by semaphore within instruction of operation system.Introduces the concept of semaphore and the operation to semaphore.On the basis of understanding relationship between process synchronization and mutual exclusion,demonstrates how to realize process synchronization and mutual exclusion by semaphore.New idea on how to setup semaphore has been proposed on contrast to other unreasonable cases upon semaphore setup.
【关键词】 信号量;
P操作;
V操作;
进程互斥;
进程同步;
【Key words】 Semaphore; P(s); V(s); Mutual Exclusion; Synchronization;
【Key words】 Semaphore; P(s); V(s); Mutual Exclusion; Synchronization;
【基金】 广东外语外贸大学精品课程
- 【文献出处】 现代计算机(专业版) ,Modern Computer , 编辑部邮箱 ,2010年14期
- 【分类号】TP316-4
- 【被引频次】2
- 【下载频次】275