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

C++的一种并发扩充方案*
引用本文:陈家骏,赵建华,郑国梁. C++的一种并发扩充方案*[J]. 软件学报, 1998, 9(8): 586-591
作者姓名:陈家骏  赵建华  郑国梁
作者单位:南京大学计算机科学与技术系,南京,210093;南京大学计算机软件新技术国家重点实验室,南京,210093;南京大学计算机科学与技术系,南京,210093;南京大学计算机软件新技术国家重点实验室,南京,210093;南京大学计算机科学与技术系,南京,210093;南京大学计算机软件新技术国家重点实验室,南京,210093
摘    要:该文给出了一种对C++进行并发扩充的方案.它基于这样的并发面向对象模型:系统由一组自治的并发对象构成,对象可以有一个体,一旦对象被创建,对象体就开始执行;对象间采用同步消息传递,允许对象内部的并发;对象的并发控制分散在各方法的激励条件中.文章还给出了一种转换策略,把扩充的C++描述转换成C++描述,使之能被现有的C++编译器识别.转换中利用了某些多任务操作系统(如Windows 95)所提供的多线程和同步设施.

关 键 词:面向对象  并发  C++  并发扩充  转换.
收稿时间:1997-04-07
修稿时间:1997-07-25

An Approach to Concurrent Extension of C++
CHEN Jia-jun,ZHAO Jian-hua and ZHENG Guo-liang. An Approach to Concurrent Extension of C++[J]. Journal of Software, 1998, 9(8): 586-591
Authors:CHEN Jia-jun  ZHAO Jian-hua  ZHENG Guo-liang
Affiliation:CHEN Jia jun ZHAO Jian hua ZHENG Guo liang(Department of Computer Science and Technology Nanjing University Nanjing 210093) (State Key Laboratory for Novel Software Technology Nanjing University Nanjing 210093)
Abstract:In this paper, a concurrent object-oriented programming model is presented. It consists of a group of concurrent objects which may have bodies. When the concurrent object with a body is created, its body begin to run. In this model, the synchronous message passing is adopted for inter-object communication and the intra-object concurrency is permitted. The object concurrency control is distributed among each method's activation condition in an object. Based on the presented model, C++ is extended. A policy is also given to transform the classes defined in the extended C++ into C++ classes. The implementation uses the multithreading and synchronization mechanisms supported in some multitasking operating systems, such as Windows 95.
Keywords:Object-oriented   concurrency   C++   concurrent extension   transformation.
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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