Skip navigation links
CSP for Java
(JCSP) 1.1-rc4

Package org.jcsp.plugNplay

This provides an assortment of plug-and-play CSP components to wire together (with Object-carrying wires) and reuse.

See: Description

Package org.jcsp.plugNplay Description

This provides an assortment of plug-and-play CSP components to wire together (with Object-carrying wires) and reuse. Primarilly they are for education and demonstration purposes, but some have value for general applications (e.g. Delta, DynamicDelta, Plex, Multiplex, Demultiplex, ProcessRead, ProcessWrite, ...).

The educational purpose is to demonstrate how simple it is to build layered networks of communicating processes. Each component works to a clean channel interface. Component instances can just be wired together. A network of such components is itself another (CSP) component. Network design and analysis takes place independently at each level - we do not have to think about the whole network hierarchy to reason about each level. This enables us to construct components with arbitrarilly rich behaviour without running into combinatorial explosions of complexity.

Examples are given of networks with 20-30 processes (threads). Because of the component layering, we never need to consider more than about 5 at a time and it is easy to see what they do and that they are without deadlock, livelock, starvation or race-hazard problems.

Skip navigation links
CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.