A Simple Model for Concurrent Object-Oriented Programming. Sekerinski, E. In International Conference Internet, Processing, Systems, Interdisciplinaries, IPSI 2003, pages 1–4, Sveti Stefan, Montenegro, October, 2003.
A Simple Model for Concurrent Object-Oriented Programming [pdf]Paper  abstract   bibtex   
It has been argued that objects can be naturally thought of as evolving independently and thus concurrently; an object is a natural ”unit” of concurrency. Yet, current mainstream object-oriented languages treat concurrency independently of objects: concurrency is expressed in terms of threads that have to be managed separately from objects. We argue for a model for concurrent object-oriented programs in which no such distinction is made. The only syntactic additions needed are extending classes by actions and allowing methods to be guarded. Execution is governed by a simple rule for atomicity. The model allows concurrency to be seamlessly introduced in classes, thus for example allowing concurrency to be introduced in subclasses of a class hierarchy. This permits concurrency to be treated as an implementation issue in the same way as the choice of an algorithm. The model relieves the programmer from having to distinguish between the process and class aspects in software design. We illustrate the model by examples, discuss its rationale, and outline our current implementation.

Downloads: 0