期刊文献+

继承异常的分析与解决

ANALYSIS AND SOLUTION TO INHERITANCE ANOMALY
在线阅读 下载PDF
导出
摘要 继承异常是用来描述在并发面向对象语言中继承与并发的冲突 .为分析并解决这种冲突 ,人们做了大量的工作 ,但我们认为以前的分类是不完全的 .本文对继承异常做了系统的分析 ,并设计了一个新的同步模型 ,为每个方法增加了同步策略与同步状态控制 ,加大了并发对象的代码可重用性 .本文用实例说明了该模型 ,在很大程度上避免或减少了“继承异常”的发生 . The term 'inheritance anomaly' was coined to describe the conflict between inheritance and concurrency in the concurrent object oriented languages. Although intensive efforts have been made to analyze and slove this conflict, we consider that the previous categorizations are incomplete. In this paper, we perform a systematic analysis of the inheritance anomaly and derive a new classification of it. We have proposed a kind of compositional synchronisation control model, it attaches the synchronisation strategy and synchronisation state control with each method and enhances the reusability for the code of the concurrent object. We use several examples to illustrate that this model avoid or decrease the occurrence of 'inheritance anomaly' to a great extend.
出处 《小型微型计算机系统》 EI CSCD 北大核心 2000年第3期285-288,共4页 Journal of Chinese Computer Systems
基金 :国家"八六三"计划支持项目
关键词 继承异常 同步策略 程序设计语言 面向对象 Inheritance anomaly Synchronisation strategy Synchronisation state Concurrent object oriented programming
  • 相关文献

参考文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部