Home
last modified time | relevance | path

Searched refs:thread_running (Results 1 – 6 of 6) sorted by relevance

/external/avahi/avahi-common/
Dthread-watch.c44 int thread_running; member
90 p->thread_running = 0; in avahi_threaded_poll_new()
111 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_free()
113 if (p->thread_running) in avahi_threaded_poll_free()
132 assert(!p->thread_running); in avahi_threaded_poll_start()
137 p->thread_running = 1; in avahi_threaded_poll_start()
145 if (!p->thread_running) in avahi_threaded_poll_stop()
156 p->thread_running = 0; in avahi_threaded_poll_stop()
174 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_lock()
183 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_unlock()
/external/avahi/avahi-compat-howl/
Dcompat.c90 int thread_running; member
176 self->thread_running = 1; in thread_func()
367 (*self)->thread_running = 0; in sw_discovery_init()
397 (*self)->thread_running = 1; in sw_discovery_init()
412 if (!self->thread_running) in stop_thread()
421 self->thread_running = 0; in stop_thread()
556 if (!((sw_discovery) self)->thread_running) in sw_salt_step()
/external/libnfc-nci/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c47 static int thread_running = 0; variable
1141 thread_running = 1; in phNxpNciHal_test_rx_thread()
1143 while (thread_running == 1) in phNxpNciHal_test_rx_thread()
1153 if(thread_running == 0) in phNxpNciHal_test_rx_thread()
1518 thread_running = 0; in phNxpNciHal_TestMode_close()
/external/libnfc-nci/halimpl/pn54x/hal/
DphNxpNciHal.h53 uint8_t thread_running; /* Thread running if set to 1, else set to 0 */ member
DphNxpNciHal.c126 p_nxpncihal_ctrl->thread_running = 1; in phNxpNciHal_client_thread()
128 while (p_nxpncihal_ctrl->thread_running == 1) in phNxpNciHal_client_thread()
138 if(p_nxpncihal_ctrl->thread_running == 0){ in phNxpNciHal_client_thread()
256 p_nxpncihal_ctrl->thread_running = 0; in phNxpNciHal_kill_client_thread()
/external/avahi/avahi-compat-libdns_sd/
Dcompat.c71 int thread_running; member
313 sdref->thread_running = 1; in thread_func()
391 sdref->thread_running = 0; in sdref_new()
409 sdref->thread_running = 1; in sdref_new()
424 if (sdref->thread_running) { in sdref_free()