Proc. Intl. Conf. on Computer Languages
We describe Triveni, a framework and API for integrating threads and events. The design of Triveni is based on an algebra, including preemption combinators, of processes. Triveni is compatible with existing threads standards, such as Pthreads and Java threads, and with the event models structured on the Observer pattern. We describe the software architecture and algorithms underlying a concrete implementation of Triveni in Java. This environment includes specification based testing of safety properties. The results described in the paper have been used to integrate process-algebraic methods into (concurrent) object orientated programming.
C. Colby, L. J. Jagadeesan, R. Jagadeesan, K. Läufer, and C. Puchol, Design and implementation of triveni: a process-algebraic API for threads + events, in Proc. Intl. Conf. on Computer Languages, H. E. Bal, B. Belkhouche, and L. Cardelli, Eds., IEEE Computer Society with ACM SIGPLAN. IEEE Computer Society, May 1998, pp. 58-67.
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
Copyright © 1998 Christopher P. Colby, Lalita J. Jagadeesan, Radha Jagadeesan, Konstantin Läufer, and Carlos Puchol