Searched refs:global_mutex (Results 1 – 4 of 4) sorted by relevance
174 DEFINE_STATIC_MUTEX(global_mutex);427 if (LOCK_MUTEX(&global_mutex) < 0) { in _sasl_get_plugin()438 UNLOCK_MUTEX(&global_mutex); in _sasl_get_plugin()459 r = LOCK_MUTEX(&global_mutex); in release_plugin()482 UNLOCK_MUTEX(&global_mutex); in release_plugin()762 if (LOCK_MUTEX(&global_mutex) < 0)788 UNLOCK_MUTEX(&global_mutex);796 static HANDLE global_mutex = NULL; variable802 if (global_mutex == NULL) {803 global_mutex = CreateMutex(NULL, FALSE, NULL);[all …]
88 DEFINE_STATIC_MUTEX(global_mutex);2412 LOCK_MUTEX(&global_mutex); in _sasl_build_mechlist()2456 UNLOCK_MUTEX(&global_mutex); in _sasl_build_mechlist()2492 UNLOCK_MUTEX(&global_mutex); in _sasl_build_mechlist()2617 LOCK_MUTEX(&global_mutex); in _sasl_dispose_context()2620 UNLOCK_MUTEX(&global_mutex); in _sasl_dispose_context()
110 DEFINE_STATIC_MUTEX(global_mutex);388 if (LOCK_MUTEX(&global_mutex) < 0) in sasl_gss_encode()405 UNLOCK_MUTEX(&global_mutex); in sasl_gss_encode()419 UNLOCK_MUTEX(&global_mutex); in sasl_gss_encode()439 UNLOCK_MUTEX(&global_mutex); in sasl_gss_encode()548 if (LOCK_MUTEX(&global_mutex) < 0)565 UNLOCK_MUTEX(&global_mutex);581 UNLOCK_MUTEX(&global_mutex);591 UNLOCK_MUTEX(&global_mutex);773 (void) LOCK_MUTEX(&global_mutex);[all …]
318 static pthread_mutex_t global_mutex = PTHREAD_MUTEX_INITIALIZER; variable327 (void) pthread_mutex_lock(&global_mutex); in tpmtoken_fork_prepare()351 (void) pthread_mutex_unlock(&global_mutex); in tpmtoken_fork_parent()367 (void) pthread_mutex_unlock(&global_mutex); in tpmtoken_fork_child()1030 (void) pthread_mutex_lock(&global_mutex); in do_finalize()1040 (void) pthread_mutex_unlock(&global_mutex); in do_finalize()1591 (void) pthread_mutex_lock(&global_mutex); in C_Initialize()1596 (void) pthread_mutex_unlock(&global_mutex); in C_Initialize()1600 (void) pthread_mutex_unlock(&global_mutex); in C_Initialize()1626 (void) pthread_mutex_unlock(&global_mutex); in C_Initialize()[all …]