Searched refs:pcb_data (Results 1 – 3 of 3) sorted by relevance
90 struct async_callback_struct* pcb_data = (struct async_callback_struct*)arg; in async_callback_thread_fct() local92 ret = pthread_mutex_lock(&pcb_data->mutex); in async_callback_thread_fct()99 if (pcb_data->event_pending == 0) { in async_callback_thread_fct()100 ret = pthread_cond_wait(&pcb_data->cond, &pcb_data->mutex); in async_callback_thread_fct()107 if (pcb_data->event_pending) { in async_callback_thread_fct()108 nfc_event_t event = pcb_data->event; in async_callback_thread_fct()109 nfc_status_t event_status = pcb_data->event_status; in async_callback_thread_fct()110 int ending = pcb_data->stop_thread; in async_callback_thread_fct()111 pcb_data->event_pending = 0; in async_callback_thread_fct()112 ret = pthread_cond_signal(&pcb_data->cond); in async_callback_thread_fct()[all …]
91 struct async_callback_struct* pcb_data = (struct async_callback_struct*)arg; in async_callback_thread_fct() local93 ret = pthread_mutex_lock(&pcb_data->mutex); in async_callback_thread_fct()100 if (pcb_data->event_pending == 0) { in async_callback_thread_fct()101 ret = pthread_cond_wait(&pcb_data->cond, &pcb_data->mutex); in async_callback_thread_fct()108 if (pcb_data->event_pending) { in async_callback_thread_fct()109 nfc_event_t event = pcb_data->event; in async_callback_thread_fct()110 nfc_status_t event_status = pcb_data->event_status; in async_callback_thread_fct()111 int ending = pcb_data->stop_thread; in async_callback_thread_fct()112 pcb_data->event_pending = 0; in async_callback_thread_fct()113 ret = pthread_cond_signal(&pcb_data->cond); in async_callback_thread_fct()[all …]
93 struct async_callback_struct* pcb_data = (struct async_callback_struct*)arg; in async_callback_thread_fct() local95 ret = pthread_mutex_lock(&pcb_data->mutex); in async_callback_thread_fct()102 if (pcb_data->event_pending == 0) { in async_callback_thread_fct()103 ret = pthread_cond_wait(&pcb_data->cond, &pcb_data->mutex); in async_callback_thread_fct()110 if (pcb_data->event_pending) { in async_callback_thread_fct()111 nfc_event_t event = pcb_data->event; in async_callback_thread_fct()112 nfc_status_t event_status = pcb_data->event_status; in async_callback_thread_fct()113 int ending = pcb_data->stop_thread; in async_callback_thread_fct()114 pcb_data->event_pending = 0; in async_callback_thread_fct()115 ret = pthread_cond_signal(&pcb_data->cond); in async_callback_thread_fct()[all …]