Treffer: Communicating Java Threads

Title:
Communicating Java Threads
Contributors:
The Pennsylvania State University CiteSeerX Archives
Source:
ftp://ftp.rt.el.utwente.nl/pub/java/cjt-paper.ps
Publication Year:
1997
Collection:
CiteSeerX
Document Type:
Fachzeitschrift text
File Description:
application/postscript
Language:
English
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.5C4FEDBF
Database:
BASE

Weitere Informationen

The incorporation of multithreading in Java may be considered a significant addition to the Java language, because it provides rudimentary facilities for concurrent programming. This paper describes the realisation 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 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. The use of the channel class and the additional constructs are illustrated in an application. The complete source code is available at: ftp://ftp.rt.el.utwente.nl/pub/java/sourcecode/ 1 Introduction The programming language Java has multithreading capabilities for concurrent programming. To provide synchronization between asynchronously running threads, the Java language and runtime system uses monitors which are outlined in "Monitors: An Ope.