|
1 namespace mozilla { |
|
2 namespace _ipdltest { |
|
3 |
|
4 intr protocol PTestSyncWakeup { |
|
5 both: |
|
6 intr StackFrame(); |
|
7 |
|
8 child: |
|
9 async Start(); |
|
10 async Note1(); |
|
11 async Note2(); |
|
12 |
|
13 parent: |
|
14 sync Sync1(); |
|
15 sync Sync2(); |
|
16 async __delete__(); |
|
17 |
|
18 |
|
19 state START: |
|
20 send Start goto TEST1; |
|
21 |
|
22 state TEST1: |
|
23 recv Sync1 goto TEST1_P2; |
|
24 state TEST1_P2: |
|
25 send Note1 goto TEST2; |
|
26 |
|
27 state TEST2: |
|
28 answer StackFrame goto TEST2_P2; |
|
29 state TEST2_P2: |
|
30 call StackFrame goto TEST2_P3; |
|
31 state TEST2_P3: |
|
32 recv Sync2 goto TEST2_P4; |
|
33 state TEST2_P4: |
|
34 send Note2 goto DONE; |
|
35 |
|
36 state DONE: |
|
37 recv __delete__; |
|
38 }; |
|
39 |
|
40 } // namespace _ipdltest |
|
41 } // namespace mozilla |