ipc/ipdl/test/cxx/PTestSyncWakeup.ipdl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial