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

提高Ada并发效率的一种途径
引用本文:赵恒,王振宇.提高Ada并发效率的一种途径[J].计算机应用与软件,2001,18(8):29-31,65.
作者姓名:赵恒  王振宇
作者单位:武汉数字工程研究所,武汉,430074
基金项目:国家自然科学基金(编号:69773041)
摘    要:Ada的会合机制使我们能在高级语言一级上描述系统的并发活动,从而避免了在使用低级通信原语时所不可避免的问题。但由于会合机制是一种完全同步的实现机制,因此其并发效率较低。为此,本文提出:采用基于Ada保护对象的(异步)信箱机制实现Ada会合的服务模型,使之既具有会合机制的高可靠性,又能提高系统的并发度和实现效率。

关 键 词:Ada语言  并发程序设计  并发效率  软件系统

APPROACH TO IMPROVING Ada CONCURRENT EFFICIENCY
Zhao Heng Wang Zhenyu.APPROACH TO IMPROVING Ada CONCURRENT EFFICIENCY[J].Computer Applications and Software,2001,18(8):29-31,65.
Authors:Zhao Heng Wang Zhenyu
Abstract:The rendezvous mechanism of Ada provides an advanced high level approach to task synchronization, which avoids the problems encountered by the use of low- level primitives,such as semaphores and signals. However, the rendezvous mechanism is reahzed in completely synchronized way so that its concurrent efficiency is lower than asynchronous message communication.An Ada protected object- based(asynchronous) mailbox mechanism is proposed to realize Ada rendezvous service model, which can improve the concurrent efficiency of Ada program and keep on the rendezvous model's reliability.
Keywords:Rendezvous mechanism Service model Protected object Mailbox
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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