Searched refs:state_lock (Results 1 – 1 of 1) sorted by relevance
93 static pthread_mutex_t state_lock; variable217 pthread_mutex_lock(&state_lock); in is_inited()219 pthread_mutex_unlock(&state_lock); in is_inited()365 pthread_mutex_init(&state_lock, NULL); in btsock_l2cap_init()366 pthread_mutex_lock(&state_lock); in btsock_l2cap_init()370 pthread_mutex_unlock(&state_lock); in btsock_l2cap_init()377 pthread_mutex_lock(&state_lock); in btsock_l2cap_cleanup()381 pthread_mutex_unlock(&state_lock); in btsock_l2cap_cleanup()382 pthread_mutex_destroy(&state_lock); in btsock_l2cap_cleanup()417 pthread_mutex_lock(&state_lock); in on_srv_l2cap_listen_started()[all …]