Lines Matching refs:shared
2 General semaphore and shared memory test
8 $MEMSIZE = 512; // size of shared memory to allocate
31 echo "Fail to attach shared memory.\n";
35 echo "Success to attach shared memory.\n";
39 echo "Fail to put var 1 on shared memory $shm_id.\n";
44 echo "Write var1 to shared memory.\n";
48 echo "Fail to put var 2 on shared memory.\n";
53 echo "Write var2 to shared memory.\n";
77 // remove shared memory segmant from SysV
81 echo "Fail to remove shared memory from SysV.\n";
96 Success to attach shared memory.
97 Write var1 to shared memory.
98 Write var2 to shared memory.