ipc/ipdl/test/cxx/PTestSyncWakeup.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/ipdl/test/cxx/PTestSyncWakeup.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 PTestSyncWakeup {
     1.8 +both:
     1.9 +    intr StackFrame();
    1.10 +
    1.11 +child:
    1.12 +    async Start();
    1.13 +    async Note1();
    1.14 +    async Note2();
    1.15 +
    1.16 +parent:
    1.17 +    sync Sync1();
    1.18 +    sync Sync2();
    1.19 +    async __delete__();
    1.20 +
    1.21 +
    1.22 +state START:
    1.23 +    send Start goto TEST1;
    1.24 +
    1.25 +state TEST1:
    1.26 +    recv Sync1 goto TEST1_P2;
    1.27 +state TEST1_P2:
    1.28 +    send Note1 goto TEST2;
    1.29 +
    1.30 +state TEST2:
    1.31 +    answer StackFrame goto TEST2_P2;
    1.32 +state TEST2_P2:
    1.33 +    call StackFrame goto TEST2_P3;
    1.34 +state TEST2_P3:
    1.35 +    recv Sync2 goto TEST2_P4;
    1.36 +state TEST2_P4:
    1.37 +    send Note2 goto DONE;
    1.38 +
    1.39 +state DONE:
    1.40 +    recv __delete__;
    1.41 +};
    1.42 +
    1.43 +} // namespace _ipdltest
    1.44 +} // namespace mozilla

mercurial