Searched refs:g_mutex (Results 1 – 4 of 4) sorted by relevance
42 static CRITICAL_SECTION g_mutex = { variable92 EnterCriticalSection(&g_mutex); in stw_tls_init()95 LeaveCriticalSection(&g_mutex); in stw_tls_init()220 EnterCriticalSection(&g_mutex); in stw_tls_cleanup()226 LeaveCriticalSection(&g_mutex); in stw_tls_cleanup()244 EnterCriticalSection(&g_mutex); in stw_tls_lookup_pending_data()258 LeaveCriticalSection(&g_mutex); in stw_tls_lookup_pending_data()
142 static Mutex g_mutex; variable150 SmartLock locker (g_mutex); in dev_stop_handler()236 SmartLock locker (g_mutex); in main()238 g_cond.wait (g_mutex); in main()
62 static Mutex g_mutex; variable172 SmartLock locker (g_mutex); in handle_buffer()246 SmartLock locker (g_mutex); in dev_stop_handler()910 SmartLock locker (g_mutex); in main()912 g_cond.wait (g_mutex); in main()
229 static pthread_mutex_t g_mutex; in get_mutex() local230 return &g_mutex; in get_mutex()