summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
blob: aa6696693864c7a423c29ad8005b677807303d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
include "mozilla/_ipdltest/TestInterruptRaces.h";

namespace mozilla {
namespace _ipdltest {

[ManualDealloc, ChildImpl="TestInterruptRacesChild", ParentImpl="TestInterruptRacesParent"]
intr protocol PTestInterruptRaces {
both:
    [LegacyIntr] intr Race() returns (bool hasReply);
    [LegacyIntr] intr StackFrame() returns ();
    [LegacyIntr] intr StackFrame3() returns ();

parent:
    sync StartRace();
    [LegacyIntr] intr Parent();
    sync GetAnsweredParent() returns (bool answeredParent);

child:
    async Start();
    async Wakeup();
    async Wakeup3();
    [LegacyIntr] intr Child();
    async __delete__();
};

} // namespace _ipdltest
} // namespace mozilla