Lines Matching refs:globalmutex
119 static pthread_mutex_t globalmutex = PTHREAD_MUTEX_INITIALIZER;
143 (void) pthread_mutex_lock(&globalmutex);
151 (void) pthread_mutex_unlock(&globalmutex);
170 (void) pthread_mutex_unlock(&globalmutex);
188 (void) pthread_mutex_unlock(&globalmutex);
199 (void) pthread_mutex_unlock(&globalmutex);
209 (void) pthread_mutex_unlock(&globalmutex);
220 (void) pthread_mutex_unlock(&globalmutex);
229 (void) pthread_mutex_unlock(&globalmutex);
248 (void) pthread_mutex_unlock(&globalmutex);
257 * globalmutex should be locked by C_Finalize().
264 (void) pthread_mutex_lock(&globalmutex);
267 (void) pthread_mutex_unlock(&globalmutex);
273 (void) pthread_mutex_unlock(&globalmutex);
287 (void) pthread_mutex_unlock(&globalmutex);
293 * finalize_common() does the work for C_Finalize. globalmutex
397 (void) pthread_mutex_lock(&globalmutex);
401 (void) pthread_mutex_unlock(&globalmutex);
407 (void) pthread_mutex_unlock(&globalmutex);
461 * 1. globalmutex
470 (void) pthread_mutex_lock(&globalmutex);
496 (void) pthread_mutex_unlock(&globalmutex);