blob: 125919f9af57f9e3eba2e977d865dd8e44071839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
include "mozilla/_ipdltest/TestRaceDeadlock.h";
namespace mozilla {
namespace _ipdltest {
[ManualDealloc, ChildImpl="TestRaceDeadlockChild", ParentImpl="TestRaceDeadlockParent"]
intr protocol PTestRaceDeadlock {
both:
async StartRace();
parent:
[LegacyIntr] intr Lose();
child:
[LegacyIntr] intr Win();
[LegacyIntr] intr Rpc();
async __delete__();
/* Tests that race resolution does not cause deadlocks */
};
} // namespace _ipdltest
} // namespace mozilla
|