ipc/ipdl/test/cxx/PTestNestedLoops.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/ipdl/test/cxx/PTestNestedLoops.ipdl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +
     1.5 +namespace mozilla {
     1.6 +namespace _ipdltest {
     1.7 +
     1.8 +
     1.9 +intr protocol PTestNestedLoops {
    1.10 +
    1.11 +child:
    1.12 +    async Start();
    1.13 +    intr R();
    1.14 +    __delete__();
    1.15 +
    1.16 +parent:
    1.17 +    async Nonce();
    1.18 +
    1.19 +
    1.20 +state START:
    1.21 +    send Start goto RACE;
    1.22 +
    1.23 +state RACE:
    1.24 +    recv Nonce goto RACE1;
    1.25 +    call R goto RACE2;
    1.26 +state RACE1:
    1.27 +    call R goto DEAD;
    1.28 +state RACE2:
    1.29 +    recv Nonce goto DEAD;
    1.30 +
    1.31 +state DEAD:
    1.32 +    send __delete__;
    1.33 +};
    1.34 +
    1.35 +
    1.36 +} // namespace mozilla
    1.37 +} // namespace _ipdltest

mercurial