mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
22 lines
343 B
Text
22 lines
343 B
Text
namespace mozilla {
|
|
namespace _ipdltest {
|
|
|
|
protocol PTestShmem {
|
|
child:
|
|
async Give(Shmem mem, Shmem unsafe, size_t expectedSize);
|
|
|
|
parent:
|
|
async Take(Shmem mem, Shmem unsafe, size_t expectedSize);
|
|
async __delete__();
|
|
|
|
|
|
state GIVING:
|
|
send Give goto TAKING;
|
|
|
|
state TAKING:
|
|
recv Take goto TAKING;
|
|
recv __delete__;
|
|
};
|
|
|
|
}
|
|
}
|