Lines Matching refs:to
11 $MEMSIZE = 512; // size of shared memory to allocate
19 echo "Fail to get semaphore";
26 echo "Fail to acquire semaphore $sem_id.\n";
34 echo "Fail to attach shared memory.\n";
38 echo "Success to attach shared memory : $shm_id.\n";
42 echo "Fail to put var 1 on shared memory $shm_id.\n";
47 echo "Write var1 to shared memory.\n";
51 echo "Fail to put var 2 on shared memory $shm_id.\n";
56 echo "Write var2 to shared memory.\n";
61 echo "Fail to retrieve Var 1 from Shared memory $shm_id, return value=$var1.\n";
69 echo "Fail to retrieve Var 2 from Shared memory $shm_id, return value=$var2.\n";
75 echo "Fail to release $sem_id semaphore.\n";
84 echo "Fail to remove $shm_id shared memory from SysV.\n";
91 echo "Fail to remove $sem_id semaphore from SysV.\n";
96 * semaphores in effect, to keep state information.
104 Success to attach shared memory : %s.
105 Write var1 to shared memory.
106 Write var2 to shared memory.