comparison: ipc/ipdl/test/cxx/PTestShmem.ipdl
ipc/ipdl/test/cxx/PTestShmem.ipdl
- branch
- TOR_BUG_3246
- changeset 6
- 8bccb770b82d
equal
deleted
inserted
replaced
|
1 namespace mozilla { |
|
2 namespace _ipdltest { |
|
3 |
|
4 protocol PTestShmem { |
|
5 child: |
|
6 Give(Shmem mem, Shmem unsafe, size_t expectedSize); |
|
7 |
|
8 parent: |
|
9 Take(Shmem mem, Shmem unsafe, size_t expectedSize); |
|
10 __delete__(); |
|
11 |
|
12 |
|
13 state GIVING: |
|
14 send Give goto TAKING; |
|
15 |
|
16 state TAKING: |
|
17 recv Take goto TAKING; |
|
18 recv __delete__; |
|
19 }; |
|
20 |
|
21 } |
|
22 } |