Communicating Java Threads


Hilderink, Gerald and Broenink, Jan and Vervoort, Wiek and Bakkers, André (1997) Communicating Java Threads. In: 20th World Occam and Transputer User Group Technical Meeting, WoTUG-20, 13-16 April 1997, Enschede The Netherlands (pp. pp. 48-76).

open access
Abstract:The incorporation of multithreading in Java may be considered a significant part of the Java language, because it provides udimentary facilities for concurrent programming. However, we belief that the use of channels is a fundamental concept for concurrent programming. The channel approach as described in this paper is a realization of a systematic design method for concurrent programming in Java based on the CSP paradigm. CSP requires the availability of a Channel class and the addition of composition constructs for sequential, parallel and alternative processes. The Channel class and the constructs have been implemented in Java in compliance with the definitions in CSP. As a result, implementing communication between processes is facilitated, enabling the programmer to avoid deadlock more easily, and freeing the programmer from synchronization and scheduling constructs. The use of the Channel class and the additional constructs is illustrated in a simple application.
Item Type:Conference or Workshop Item
Copyright:© 1997 IOS Press
Electrical Engineering, Mathematics and Computer Science (EEMCS)
Research Group:
Link to this item:
Export this item as:BibTeX
HTML Citation
Reference Manager


Repository Staff Only: item control page

Metis ID: 113498