Lines Matching defs:shared
96 CMonShared *shared = (CMonShared*)arg;
98 PR_CEnterMonitor(&shared->o1);
100 rv = PR_CWait(&shared->o1, PR_SecondsToInterval(5));
104 rv = PR_CNotify(&shared->o1);
108 PR_CExitMonitor(&shared->o1);
114 CMonShared *shared = (CMonShared*)arg;
116 PR_CEnterMonitor(&shared->o2);
118 rv = PR_CWait(&shared->o2, PR_SecondsToInterval(5));
121 rv = PR_CNotify(&shared->o2);
123 PR_CExitMonitor(&shared->o2);
172 MonShared *shared = (MonShared*)arg;
174 PR_EnterMonitor(shared->o1);
176 rv = PR_Wait(shared->o1, PR_SecondsToInterval(5));
180 rv = PR_Notify(shared->o1);
184 PR_ExitMonitor(shared->o1);
190 MonShared *shared = (MonShared*)arg;
192 PR_EnterMonitor(shared->o2);
194 rv = PR_Wait(shared->o2, PR_SecondsToInterval(5));
197 rv = PR_Notify(shared->o2);
199 PR_ExitMonitor(shared->o2);
253 LockShared *shared = (LockShared*)arg;
255 PR_Lock(shared->o1);
257 rv = PR_WaitCondVar(shared->cv1, PR_SecondsToInterval(5));
261 rv = PR_NotifyCondVar(shared->cv1);
265 PR_Unlock(shared->o1);
271 LockShared *shared = (LockShared*)arg;
273 PR_Lock(shared->o2);
275 rv = PR_WaitCondVar(shared->cv2, PR_SecondsToInterval(5));
278 rv = PR_NotifyCondVar(shared->cv2);
280 PR_Unlock(shared->o2);
285 ** Make shared' a static variable for Win16