Searched refs:log_mutex (Results 1 – 2 of 2) sorted by relevance
221 if (!log_mutex) { in Init()231 log_mutex = ::CreateMutex(NULL, FALSE, t.c_str()); in Init()233 if (log_mutex == NULL) { in Init()254 ::WaitForSingleObject(log_mutex, INFINITE); in LockLogging()261 pthread_mutex_lock(&log_mutex); in LockLogging()272 ReleaseMutex(log_mutex); in UnlockLogging()274 pthread_mutex_unlock(&log_mutex); in UnlockLogging()289 static MutexHandle log_mutex; member in logging::LoggingLock291 static pthread_mutex_t log_mutex; member in logging::LoggingLock307 MutexHandle LoggingLock::log_mutex = NULL; member in logging::LoggingLock[all …]
76 HANDLE log_mutex = NULL; variable113 if (!log_mutex) { in InitLogMutex()119 log_mutex = ::CreateMutex(NULL, FALSE, t.c_str()); in InitLogMutex()307 DWORD r = ::WaitForSingleObject(log_mutex, INFINITE); in ~LogMessage()328 ReleaseMutex(log_mutex); in ~LogMessage()