ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +namespace mozilla {
     1.5 +namespace _ipdltest {
     1.6 +
     1.7 +intr protocol PTestRacyInterruptReplies {
     1.8 +child:
     1.9 +    intr R_() returns (int replyNum);
    1.10 +    async _A();
    1.11 +    async ChildTest();
    1.12 +    async __delete__();
    1.13 +
    1.14 +parent:
    1.15 +    intr _R() returns (int replyNum);
    1.16 +    async A_();
    1.17 +
    1.18 +state PARENT_START:
    1.19 +    call R_ goto PARENT_S1;
    1.20 +
    1.21 +state PARENT_S1:
    1.22 +    recv A_ goto PARENT_S2;
    1.23 +
    1.24 +state PARENT_S2:
    1.25 +    call R_ goto CHILD_TEST;
    1.26 +
    1.27 +state CHILD_TEST:
    1.28 +    send ChildTest goto CHILD_START;
    1.29 +
    1.30 +state CHILD_START:
    1.31 +    answer _R goto CHILD_S1;
    1.32 +
    1.33 +state CHILD_S1:
    1.34 +    send _A goto CHILD_S2;
    1.35 +
    1.36 +state CHILD_S2:
    1.37 +    answer _R goto DYING;
    1.38 +
    1.39 +state DYING:
    1.40 +    send __delete__;
    1.41 +};
    1.42 +
    1.43 +} // namespace _ipdltest
    1.44 +} // namespace mozilla

mercurial