Searched refs:state_lock (Results 1 – 2 of 2) sorted by relevance
173 (void)pthread_mutex_init(&thread->state_lock, NULL); in pthread_create()181 pthread_mutex_lock(&thread->state_lock); in pthread_create()183 pthread_mutex_unlock(&thread->state_lock); in pthread_create()247 pthread_mutex_lock(&thread->state_lock); in pthread_cancel()255 pthread_mutex_unlock(&thread->state_lock); in pthread_cancel()372 pthread_mutex_lock(&self->state_lock); in pthread_exit()392 pthread_mutex_unlock(&self->state_lock); in pthread_exit()414 pthread_mutex_lock(&pthread->state_lock); in pthread_join()417 pthread_cond_wait(&pthread->state_cond, &pthread->state_lock); in pthread_join()430 pthread_mutex_unlock(&pthread->state_lock); in pthread_join()[all …]
51 pthread_mutex_t state_lock; member