Searched refs:g_lock (Results 1 – 2 of 2) sorted by relevance
38 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable91 pthread_mutex_init(&g_lock, NULL); in init_globals()163 pthread_mutex_lock(&g_lock); in set_light_backlight()169 pthread_mutex_unlock(&g_lock); in set_light_backlight()179 pthread_mutex_lock(&g_lock); in set_light_keyboard()181 pthread_mutex_unlock(&g_lock); in set_light_keyboard()191 pthread_mutex_lock(&g_lock); in set_light_buttons()194 pthread_mutex_unlock(&g_lock); in set_light_buttons()298 pthread_mutex_lock(&g_lock); in set_light_battery()304 pthread_mutex_unlock(&g_lock); in set_light_battery()[all …]
38 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable74 pthread_mutex_init(&g_lock, NULL); in init_globals()119 pthread_mutex_lock(&g_lock); in set_light_backlight()121 pthread_mutex_unlock(&g_lock); in set_light_backlight()211 pthread_mutex_lock(&g_lock); in set_light_notifications()214 pthread_mutex_unlock(&g_lock); in set_light_notifications()222 pthread_mutex_lock(&g_lock); in set_light_attention()229 pthread_mutex_unlock(&g_lock); in set_light_attention()