Lines Matching full:thread_lock
152 /* thread_lock must be held when starting or stopping the capture thread.
153 * Locking order: thread_lock -> lock */
154 pthread_mutex_t thread_lock;
201 pthread_mutex_init(&thread_lock, NULL);
425 pthread_mutex_lock(&thread_lock);
457 pthread_mutex_unlock(&thread_lock);
473 pthread_mutex_lock(&thread_lock);
507 pthread_mutex_unlock(&thread_lock);