Home
last modified time | relevance | path

Searched refs:signal_fds (Results 1 – 2 of 2) sorted by relevance

/system/bt/udrv/ulinux/
Duipc.cc191 memset(&uipc.signal_fds, 0, sizeof(uipc.signal_fds)); in uipc_main_init()
195 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc.signal_fds) < 0) { in uipc_main_init()
199 FD_SET(uipc.signal_fds[0], &uipc.active_set); in uipc_main_init()
200 uipc.max_fd = MAX(uipc.max_fd, uipc.signal_fds[0]); in uipc_main_init()
218 close(uipc.signal_fds[0]); in uipc_main_cleanup()
219 close(uipc.signal_fds[1]); in uipc_main_cleanup()
288 if (SAFE_FD_ISSET(uipc.signal_fds[0], &uipc.read_set)) { in uipc_check_interrupt_locked()
291 recv(uipc.signal_fds[0], &sig_recv, sizeof(sig_recv), MSG_WAITALL)); in uipc_check_interrupt_locked()
299 OSI_NO_INTR(send(uipc.signal_fds[1], &sig_on, sizeof(sig_on), 0)); in uipc_wakeup_locked()
/system/bt/udrv/include/
Duipc.h76 int signal_fds[2]; member