Home | History | Annotate | Download | only in src

Lines Matching refs:signal_fds

92 static int signal_fds[2];
4997 if (socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0)
5003 BTIF_TRACE_DEBUG2("btif_hl_select_wakeup_init signal_fds[0]=%d signal_fds[1]=%d",signal_fds[0], signal_fds[1] );
5004 FD_SET(signal_fds[0], set);
5006 return signal_fds[0];
5021 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
5036 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
5053 result = send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
5060 if(signal_fds[0] != -1)
5062 close(signal_fds[0]);
5063 signal_fds[0] = -1;
5065 if(signal_fds[1] != -1)
5067 close(signal_fds[1]);
5068 signal_fds[1] = -1;
5086 recv(signal_fds[0], &sig_recv, sizeof(sig_recv), MSG_WAITALL);
5100 return FD_ISSET(signal_fds[0], set);