c++ : a concurrent object-oriented programming language
abstract
developing concurrent object-oriented programming (coop) languages becomes an
attractive research area since coop languages are more suitable for simulation of
real world objects and their interactions. after reviewing fundamentals of coop
languages and analyzing existing coop languages, we propose a concurrent object-oriented
programming language: cc++-. cc++ is an extension to object-oriented
programming (oop) language c++. it is extended by introducing five keywords,
and incorporating process concepts and communication and synchronization mechanisms
into c++. meanwhile it retains the syntax and semantics of c++. the
language distinguishes class (or passive) objects from process (or active) objects.
the class objects are the ordinary objects in c++. the process objects, however,
are coarse-grain concurrent entities. each process object has a sequential control
thread and an optional public interface that can be accessed by other process objects.
the communication and synchronization between interacting process objects
are accomplished through remote function call (rfc), which is an extension of remote
procedure call (rpc) [han78]. two types of rfcs, blocked rfc and unblocked rfc
are distinguished in cc++. the blocked rfc, along with guarded function and
forward mechanism performs synchronous message passing. the unblocked rfc,
however, provides a way to express asynchronous message passing. the guarded
function is based on guarded commands [dij 75], and is introduced for expressing and
controlling indeterminism. the language has been implemented as an experimental
system running on unix. the important objectives of cc++ are ease of programming,
simple syntax, clear semantics and strong expressive power.
collections
- retrospective theses [1604]