Skip to main content
Article
Design and Implementation of Triveni: a Process-Algebraic API for Threads + Events
Proc. Intl. Conf. on Computer Languages
  • Christopher P Colby, Loyola University Chicago
  • Lalita Jategaonkar Jagaeesan, Lucent Technologies
  • Radhakrishnan Jagadeesan, Loyola University Chicago
  • Konstantin Laufer
  • Carlos Puchol, Lucent Technologies
Document Type
Conference Proceeding
Publication Date
5-1-1998
Disciplines
Abstract

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.

Identifier
ISBN: 0-8186-8454-2
Creative Commons License
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0
Citation Information
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.