摘要
要将并发性与面向对象及代码重用结合起来,必须解决“继承异常”问题.目前提出的方案大都针对特定问题,有一定局限性.本文引入了一种新的同步模型,将同步控制分为同步策略控制与同步条件控制,同时引入了策略库,加大了并发对象的代码可重用性,在很大程度上避免或减少了“继承异常”的发生.
In order to combine concurrency with object orientation and reuse,the so called 'inheritance anomaly' has to be sloved.Although a large number of solutions have been proposed to solve the inheritance anomaly,they all aim at a certain kind of problem,have some limitations.In this paper,we introduce a new kind of synchronization model,it divides the synchronisztion control into synchronization strategy control and synchronization condition control, we also introduce the conception about strategy library.This new model enhances the reusability for the code of the concurrent object,avoid or decrease the occurrence of 'inheritance anomaly' to a great extend.
出处
《小型微型计算机系统》
CSCD
北大核心
1999年第3期199-203,共5页
Journal of Chinese Computer Systems
基金
国家863项目资助
关键词
组合同步控制
程序设计语言
CooLs
面向对象
Inheritance anomaly Concurrent object oriented language Compositional synchronization control Synchronization strategy Synchronization condition