...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Guarded methods vs. inheritance anomaly: inheritance anomaly solved by nested guarded method calls
【24h】

Guarded methods vs. inheritance anomaly: inheritance anomaly solved by nested guarded method calls

机译:保护方法与继承异常:通过嵌套的保护方法调用解决了继承异常

获取原文
获取原文并翻译 | 示例
           

摘要

The term Inheritance Anomaly has been introduced into Object-Oriented Concurrent Programming (OOCP). It has also been shown how different kinds of synchronization mechanisms fall into one of the three anomalies. Guarded Methods are shown to be an inadequate tool to solve either History-only Sensitive Anomaly or Modification of Acceptable States. This paper argues that any of the anomalies can be solved by Guarded Methods when a suitable semantics is found for it. The main contribution of the paper is the exposition that the concept of Guarded Methods, provided Guarded Methods are interpreted as Conditional Critical Regions, is an adequate language tool for expressing synchronization constraints in OOCP. Guarded Method based solutions are given for the above mentioned two cases of anomalies.
机译:术语“继承异常”已引入到面向对象的并行编程(OOCP)中。还已经显示出不同种类的同步机制是如何落入三个异常之一的。已显示“受保护的方法”不足以解决仅历史敏感异常或可接受状态的修改。本文认为,只要找到了合适的语义,任何异常都可以通过Guarded Methods解决。本文的主要贡献在于,如果“保护方法”被解释为“条件关键区域”,则“保护方法”的概念是一种表达OOCP中同步约束的适当语言工具。针对上述两种异常情况,给出了基于保护方法的解决方案。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号