Lines Matching refs:P
11 $P_SEMKEY = ftok(__FILE__, 'P'); // Parent Semaphore key
14 echo "P: parent process running.\n";
21 echo "P: failed to parent get semaphore\n";
25 echo "P: got semaphore $p_sem_id.\n";
30 echo "P: failed to child get semaphore\n";
37 echo "P: fail to acquire semaphore $p_sem_id.\n";
41 echo "P: acquired semaphore $p_sem_id.\n";
45 echo "P: fail to acquire semaphore $c_sem_id.\n";
49 echo "P: acquired semaphore $c_sem_id\n";
56 echo "P: removing semaphore $p_sem_id.\n";
66 echo "P: failed to acquire semaphore $c_sem_id.\n";
75 echo "P: releasing semaphore $p_sem_id.\n";
77 echo "P: failed to release semaphore\n";
122 P: parent process running.
123 P: got semaphore Resource id #%i.
124 P: acquired semaphore Resource id #%i.
125 P: acquired semaphore Resource id #%i
130 P: releasing semaphore Resource id #%i.
134 P: removing semaphore Resource id #%i.