ipc/ipdl/test/cxx/PTestHangs.ipdl

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     2 namespace mozilla {
     3 namespace _ipdltest {
     5 intr protocol PTestHangs {
     6 both:
     7     intr StackFrame();
     9 parent:
    10     async Nonce();
    12 child:
    13     async Start();
    14     intr Hang();
    15     __delete__();
    18 state START:
    19     send Start goto RACE;
    21 state RACE:
    22     recv Nonce goto RACE1;
    23     call StackFrame goto RACE2;
    24 state RACE1:
    25     call StackFrame goto FRAME2;
    26 state RACE2:
    27     recv Nonce goto FRAME2;
    29 // So as to test unwinding the RPC stack
    30 state FRAME2: answer StackFrame goto FRAME3;
    31 state FRAME3: call StackFrame goto FRAME4;
    32 state FRAME4: answer StackFrame goto HANG;
    33 state HANG:   call Hang goto DEATH;
    35 state DEATH:
    36     send __delete__;
    37 };
    39 } // namespace _ipdltest
    40 } // namespace mozilla

mercurial