summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestRaceDeadlock.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestRaceDeadlock.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestRaceDeadlock.ipdl20
1 files changed, 20 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestRaceDeadlock.ipdl b/ipc/ipdl/test/cxx/PTestRaceDeadlock.ipdl
new file mode 100644
index 000000000..1e4f57450
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestRaceDeadlock.ipdl
@@ -0,0 +1,20 @@
+namespace mozilla {
+namespace _ipdltest {
+
+intr protocol PTestRaceDeadlock {
+both:
+ async StartRace();
+
+parent:
+ intr Lose();
+
+child:
+ intr Win();
+ intr Rpc();
+ async __delete__();
+
+/* Tests that race resolution does not cause deadlocks */
+};
+
+} // namespace _ipdltest
+} // namespace mozilla