Class CrewServer
java.lang.Object
org.jcsp.lang.CrewServer
- All Implemented Interfaces:
CSProcess
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AltingChannelInputIntTODO change this to use poisoning of the above channels, once poison is addedstatic final intprivate final AltingChannelInputIntprivate final AltingChannelInputIntstatic final intprivate final AltingChannelInputInt -
Constructor Summary
ConstructorsConstructorDescriptionCrewServer(AltingChannelInputInt request, AltingChannelInputInt writerControl, AltingChannelInputInt readerRelease, AltingChannelInputInt poison) -
Method Summary
-
Field Details
-
READER
public static final int READER- See Also:
-
WRITER
public static final int WRITER- See Also:
-
request
-
writerControl
-
readerRelease
-
poison
TODO change this to use poisoning of the above channels, once poison is added
-
-
Constructor Details
-
CrewServer
public CrewServer(AltingChannelInputInt request, AltingChannelInputInt writerControl, AltingChannelInputInt readerRelease, AltingChannelInputInt poison)
-
-
Method Details
-
run
-