Changeset - 6129d6c9c015
[Not reviewed]
0 1 0
Christopher Esterhuyse - 5 years ago 2020-02-07 10:55:20
christopheresterhuyse@gmail.com
more
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/test/connector.rs
Show inline comments
 
@@ -37,7 +37,8 @@ composite forward_pair(in ia, out oa, in ib, out ob) {
 
primitive forward_nonzero(in i, out o) {
 
    while(true) synchronous {
 
        msg m = get(i);
 
        if(m[0]==0) put(o, m);
 
        assert(m[0] != 0);
 
        put(o, m);
 
    }
 
}
 
primitive token_spout(out o) {
0 comments (0 inline, 0 general)