Mercurial > hg > Members > tatsuki > Alice
view src/alice/test/topology/ring/RingMessagePassing.java @ 70:f2d4a4686036
delete CodeSegment receive thread
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 Feb 2012 20:09:18 +0900 |
parents | ca42a2c8ac22 |
children | 4a2ecd0a5e8f |
line wrap: on
line source
package alice.test.topology.ring; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class RingMessagePassing extends CodeSegment { public Receiver counter = ids.create(CommandType.TAKE); @Override public void run() { ods.put("right", "c", this.counter.val); RingMessagePassing cs = new RingMessagePassing(); cs.counter.setKey("c"); } }