Premium
Active objects made easy
Author(s) -
Carroll Martin
Publication year - 1998
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/(sici)1097-024x(199801)28:1<1::aid-spe141>3.0.co;2-5
Subject(s) - computer science , programming language , software engineering
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. © 1998 John Wiley & Sons, Ltd.