Lines Matching refs:signal_fds
92 static int signal_fds[2];
4993 if (socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0)
4999 BTIF_TRACE_DEBUG2("btif_hl_select_wakeup_init signal_fds[0]=%d signal_fds[1]=%d",signal_fds[0], signal_fds[1] );
5000 FD_SET(signal_fds[0], set);
5002 return signal_fds[0];
5017 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
5032 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
5049 result = send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
5056 if(signal_fds[0] != -1)
5058 close(signal_fds[0]);
5059 signal_fds[0] = -1;
5061 if(signal_fds[1] != -1)
5063 close(signal_fds[1]);
5064 signal_fds[1] = -1;
5082 recv(signal_fds[0], &sig_recv, sizeof(sig_recv), MSG_WAITALL);
5096 return FD_ISSET(signal_fds[0], set);