summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestNestedLoops.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestNestedLoops.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestNestedLoops.ipdl34
1 files changed, 34 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestNestedLoops.ipdl b/ipc/ipdl/test/cxx/PTestNestedLoops.ipdl
new file mode 100644
index 000000000..f0f067e0b
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestNestedLoops.ipdl
@@ -0,0 +1,34 @@
+
+namespace mozilla {
+namespace _ipdltest {
+
+
+intr protocol PTestNestedLoops {
+
+child:
+ async Start();
+ intr R();
+ async __delete__();
+
+parent:
+ async Nonce();
+
+
+state START:
+ send Start goto RACE;
+
+state RACE:
+ recv Nonce goto RACE1;
+ call R goto RACE2;
+state RACE1:
+ call R goto DEAD;
+state RACE2:
+ recv Nonce goto DEAD;
+
+state DEAD:
+ send __delete__;
+};
+
+
+} // namespace mozilla
+} // namespace _ipdltest