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