| 本文已被:浏览 3991次 下载 5136次 |
 码上扫一扫! |
|
|
| 基于双层类结构的继承异常处理方法 |
|
张 鸣1,2, 吕 建1,2, 杨大军1,2, 陶先平1,2
|
|
1.南京大学计算机软件新技术国家重点实验室,南京,210093;2.南京大学计算机软件研究所,南京,210093
|
|
| 摘要: |
| 继承异常是并发面向对象语言中的一个很重要而且也是处理起来很困难的问题,它会使同步代码难以重用.为解决此问题,文章提出了一种新的双层类结构模型的方法,来解决继承异常问题,它可对同步代码的复用提供全方位的支持. |
| 关键词: 继承异常,控制类,具体类,关联机制. |
| DOI: |
| 分类号: |
| 基金项目:本文研究得到国家自然科学基金、国家杰出青年科学基金和国家攀登计划基金资助. |
|
| A Two-layered-class Method for Solving the Inheritance Anomaly |
|
ZHANG Ming,LüJian,YANG Da-jun,TAO Xian-ping
|
| Abstract: |
| In concurrent object-oriented languages, the inheritance anomaly is an important and difficult problem, which makes synchronization codes difficult to reuse. Based on the two-layered-class model, a new method for solving the inheritance anomaly is proposed. It can provide the flexible and sufficient support to the reuse of synchronization codes. |
| Key words: Inheritance anomaly, control class, concrete class, connecting mechanism. |