diff options
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl')
-rw-r--r-- | ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl b/ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl new file mode 100644 index 0000000000..b37faa13aa --- /dev/null +++ b/ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl @@ -0,0 +1,24 @@ +namespace mozilla { +namespace _ipdltest { + +intr protocol PTestInterruptRaces { +both: + intr Race() returns (bool hasReply); + intr StackFrame() returns (); + intr StackFrame3() returns (); + +parent: + sync StartRace(); + intr Parent(); + sync GetAnsweredParent() returns (bool answeredParent); + +child: + async Start(); + async Wakeup(); + async Wakeup3(); + intr Child(); + async __delete__(); +}; + +} // namespace _ipdltest +} // namespace mozilla |