首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种改进的分布式资源共享的互斥控制算法
引用本文:王伟,李军锁,张新家.一种改进的分布式资源共享的互斥控制算法[J].科学技术与工程,2008,8(2):398-400406.
作者姓名:王伟  李军锁  张新家
作者单位:1. 西北工业大学软件与微电子学院,西安,710065
2. 航天恒星科技股份有限公司产业园分公司,西安,710077
3. 西北工业大学自动化学院,西安,710072
摘    要:改进了Andfew S.TanenlJaum等提出的分布式进程互斥算法,主要方法是客户进程给其他所有进程发送请求进入临界区的消息,然后当前使用临界区的进程回答NO消息,并把该进程排入等待队列.当使用临界区的进程退出时,再行唤醒因等待该临界区而被阻塞的进程.每次如此传递,一直到再无进程使用临界区.通过性能比较,该算法能明显减少网络传输的消息数量,具有一定优势.

关 键 词:分布式系统  资源共享  临界区  进程互斥
收稿时间:2007-08-24
修稿时间:2007年8月24日

Improved Mutex Control Aigodthm of Resources Sharing in Distributed Systems
WANG Wei,LI Jun-SUO,ZHANG Xin-jia.Improved Mutex Control Aigodthm of Resources Sharing in Distributed Systems[J].Science Technology and Engineering,2008,8(2):398-400406.
Authors:WANG Wei  LI Jun-SUO  ZHANG Xin-jia
Abstract:The process mutex algorithm is proposed by Andrew S. Tanenbaum. The algorithm is implemented through a method that a client wishing to get a critical area sends all of other processes a message asking for a critical area, and then the process in the critical area answers a NO message to stop and queue the former process. When it is going to exit, the process now in the critical area must awaken the process in the head of the queue for awaiting the critical area. Like relay race, all the processes use a critical area by turns until no process wants the critical area. Through comparing the algorithm by Andrew S. Tanenbaum with this algorithm in the performance, it can find that it is obvious that this algorithm can decrease the number of messages transmitted in the network. In conclusion, this algorithm has more advantages.
Keywords:distributed systems  resources sharing  critical area  process mutex
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《科学技术与工程》浏览原始摘要信息
点击此处可从《科学技术与工程》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号