#ship debug : Debug
debug.in:
+ literal 0;
setflags a=0, b=0;
deliver;
--- /dev/null
+// expected output
+#expect 0
+
+#ship debug : Debug
+#ship fifo : Fifo
+
+debug.in:
+ literal 2;
+ load repeat counter with 1;
+ recv;
+ setflags a=c, b=b;
+ [a] literal 1;
+ [!a] literal 0;
+ deliver;
+
+fifo.in:
+ notify debug.in:0;
--- /dev/null
+// expected output
+#expect 0
+
+#ship debug : Debug
+#ship fifo : Fifo
+#ship fifo2 : Fifo
+
+debug.in:
+ [*] take, deliver;
+
+fifo2.out:
+ literal 2;
+ load repeat counter with 1;
+ wait;
+ setflags a=c, b=b;
+ [a] literal 1;
+ [!a] literal 0;
+ sendto debug.in;
+
+fifo.in:
+ notify fifo2.out:0;
// expected output
-#expect 1
#expect 0
#ship debug : Debug
#ship fifo : Fifo
debug.in:
+ literal 2;
+ load repeat counter with 1;
recv;
setflags a=c, b=b;
[a] literal 1;
[!a] literal 0;
- wait, deliver;
- setflags a=c, b=b;
- [a] literal 1;
- [!a] literal 0;
deliver;
fifo.out:
- notify debug.in:1;
notify debug.in:0;
-
--- /dev/null
+// expected output
+#expect 0
+
+#ship debug : Debug
+#ship fifo : Fifo
+#ship fifo2 : Fifo
+
+debug.in:
+ [*] take, deliver;
+
+fifo2.out:
+ literal 2;
+ load repeat counter with 1;
+ wait;
+ setflags a=c, b=b;
+ [a] literal 1;
+ [!a] literal 0;
+ sendto debug.in;
+
+fifo.out:
+ notify fifo2.out:0;
--- /dev/null
+// expected output
+#expect 1
+
+#ship debug : Debug
+#ship fifo : Fifo
+
+debug.in:
+ literal 2;
+ load repeat counter with 1;
+ recv;
+ setflags a=c, b=b;
+ [a] literal 1;
+ [!a] literal 0;
+ deliver;
+
+fifo.in:
+ notify debug.in:1;
--- /dev/null
+// expected output
+#expect 1
+
+#ship debug : Debug
+#ship fifo : Fifo
+#ship fifo2 : Fifo
+
+debug.in:
+ [*] take, deliver;
+
+fifo2.out:
+ literal 2;
+ load repeat counter with 1;
+ wait;
+ setflags a=c, b=b;
+ [a] literal 1;
+ [!a] literal 0;
+ sendto debug.in;
+
+fifo.in:
+ notify fifo2.out:1;
--- /dev/null
+// expected output
+#expect 1
+
+#ship debug : Debug
+#ship fifo : Fifo
+
+debug.in:
+ literal 2;
+ load repeat counter with 1;
+ recv;
+ setflags a=c, b=b;
+ [a] literal 1;
+ [!a] literal 0;
+ deliver;
+
+fifo.out:
+ notify debug.in:1;
--- /dev/null
+// expected output
+#expect 1
+
+#ship debug : Debug
+#ship fifo : Fifo
+#ship fifo2 : Fifo
+
+debug.in:
+ [*] take, deliver;
+
+fifo2.out:
+ literal 2;
+ load repeat counter with 1;
+ wait;
+ setflags a=c, b=b;
+ [a] literal 1;
+ [!a] literal 0;
+ sendto debug.in;
+
+fifo.out:
+ notify fifo2.out:1;