Lines Matching refs:log_mutex
90 * current list is in use, activeDir is protected by log_mutex.
111 static pthread_mutex_t log_mutex;
335 (void) pthread_mutex_lock(&log_mutex);
346 (void) pthread_mutex_unlock(&log_mutex);
501 * The caller must hold log_mutex while calling open_log.
641 * log_mutex must be held by the caller
796 (void) pthread_mutex_lock(&log_mutex);
928 (void) pthread_mutex_unlock(&log_mutex);
984 (void) pthread_mutex_init(&log_mutex, NULL);
1010 (void) pthread_mutex_lock(&log_mutex);
1013 (void) pthread_mutex_unlock(&log_mutex);
1028 (void) pthread_mutex_lock(&log_mutex);
1032 (void) pthread_mutex_unlock(&log_mutex);
1039 (void) pthread_mutex_destroy(&log_mutex);