Searched refs:hc_cb (Results 1 – 1 of 1) sorted by relevance
90 static bt_hc_cb_t hc_cb; variable103 pthread_mutex_lock(&hc_cb.mutex); in bthc_signal_event()105 pthread_cond_signal(&hc_cb.cond); in bthc_signal_event()106 pthread_mutex_unlock(&hc_cb.mutex); in bthc_signal_event()157 pthread_mutex_init(&hc_cb.mutex, NULL); in init()158 pthread_cond_init(&hc_cb.cond, NULL); in init()161 if (pthread_create(&hc_cb.worker_thread, &thread_attr, \ in init()169 if(pthread_getschedparam(hc_cb.worker_thread, &policy, ¶m)==0) in init()175 result = pthread_setschedparam(hc_cb.worker_thread, policy, ¶m); in init()300 pthread_join(hc_cb.worker_thread, NULL); in cleanup()[all …]