引用本文:陈家骏,赵建华,郑国梁.C++的一种并发扩充方案*.软件学报,1998,9(8):586-591
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4046次   下载 5218 本文二维码信息
码上扫一扫!
分享到: 微信 更多
C++的一种并发扩充方案*
陈家骏1,2, 赵建华1,2, 郑国梁1,2
1.南京大学计算机科学与技术系,南京,210093;2.南京大学计算机软件新技术国家重点实验室,南京,210093
摘要:
该文给出了一种对C++进行并发扩充的方案.它基于这样的并发面向对象模型:系统由一组自治的并发对象构成,对象可以有一个体,一旦对象被创建,对象体就开始执行;对象间采用同步消息传递,允许对象内部的并发;对象的并发控制分散在各方法的激励条件中.文章还给出了一种转换策略,把扩充的C++描述转换成C++描述,使之能被现有的C++编译器识别.转换中利用了某些多任务操作系统(如Windows 95)所提供的多线程和同步设施.
关键词:  面向对象,并发,C++,并发扩充,转换.
DOI:
分类号:
基金项目:
An Approach to Concurrent Extension of C++
CHEN Jia-jun,ZHAO Jian-hua,ZHENG Guo-liang
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.
Key words:  Object-oriented, concurrency, C++, concurrent extension, transformation.

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: