See More

package tests.classes; import java.util.concurrent.Semaphore; import JyCSP.*; import org.python.core.PyString; public class SeqProcess extends JavaCspProcess { public int y = 0; private JavaCspChannel chnl; public SeqProcess(JavaCspChannel c,int y) { super(); this.chnl = c; this.y = y; } public void target() { this.chnl.write(Integer.valueOf(this.y).toString()); System.out.println("Has Written " + y); } }