版权所有:内蒙古大学图书馆 技术提供:维普资讯• 智图
内蒙古自治区呼和浩特市赛罕区大学西街235号 邮编: 010021
作者机构:AT&T Bell Labs Innovat Lucent Technol Murray Hill NJ 07974 USA
出 版 物:《SOFTWARE-PRACTICE & EXPERIENCE》 (软件:实践与经验)
年 卷 期:1998年第28卷第1期
页 面:1-21页
核心收录:
学科分类:08[工学] 0835[工学-软件工程] 0812[工学-计算机科学与技术(可授工学、理学学位)]
主 题:multithreading active objects embedded programming Java (TM) C++
摘 要:A widely useful technique for implementing complex programs is to use multiple threads of execution. Unfortunately, when we multithread a program we introduce the potential for bugs caused by unprotected critical sections. A widely useful technique for reducing the number of critical sections, and hence the number of bugs, is that of active objects, This paper presents a design for active objects that is easy to understand, implement and use in any sufficiently powerful object-oriented programming language. We show the implementation and use of our design in both the Java(TM) and C++ programming languages. (C) 1998 by John Wiley & Sons, Ltd.