Blame view
circus/src/jcircus/classesdescompiladas/Test.java
445 Bytes
8d0dc533f
![]() |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
package jcircus.classesdescompiladas; import org.jcsp.lang.*; public class Test { static Any2OneChannel a2o = Channel.any2one(); public static void main (String args []) { (new CSPParallel ( new CSProcess [] { new CSProcess () { public void run () { a2o.in().read(); } }, new CSProcess () { public void run () { a2o.out().write(new Integer (5)); } } })).run(); } } |