mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
437f6053a9
--HG-- rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
42 lines
677 B
Plaintext
42 lines
677 B
Plaintext
namespace mozilla {
|
|
namespace _ipdltest {
|
|
|
|
intr protocol PTestRacyInterruptReplies {
|
|
child:
|
|
intr R_() returns (int replyNum);
|
|
async _A();
|
|
async ChildTest();
|
|
async __delete__();
|
|
|
|
parent:
|
|
intr _R() returns (int replyNum);
|
|
async A_();
|
|
|
|
state PARENT_START:
|
|
call R_ goto PARENT_S1;
|
|
|
|
state PARENT_S1:
|
|
recv A_ goto PARENT_S2;
|
|
|
|
state PARENT_S2:
|
|
call R_ goto CHILD_TEST;
|
|
|
|
state CHILD_TEST:
|
|
send ChildTest goto CHILD_START;
|
|
|
|
state CHILD_START:
|
|
answer _R goto CHILD_S1;
|
|
|
|
state CHILD_S1:
|
|
send _A goto CHILD_S2;
|
|
|
|
state CHILD_S2:
|
|
answer _R goto DYING;
|
|
|
|
state DYING:
|
|
send __delete__;
|
|
};
|
|
|
|
} // namespace _ipdltest
|
|
} // namespace mozilla
|