Searched refs:notify_pipe (Results 1 – 1 of 1) sorted by relevance
129 static int notify_pipe[2]; variable133 if (pipe(notify_pipe) < 0) { in notify_setup()135 } else if ((fcntl(notify_pipe[0], F_SETFD, FD_CLOEXEC) == -1) || in notify_setup()136 (fcntl(notify_pipe[1], F_SETFD, FD_CLOEXEC) == -1)) { in notify_setup()138 close(notify_pipe[0]); in notify_setup()139 close(notify_pipe[1]); in notify_setup()141 set_nonblock(notify_pipe[0]); in notify_setup()142 set_nonblock(notify_pipe[1]); in notify_setup()145 notify_pipe[0] = -1; /* read end */ in notify_setup()146 notify_pipe[1] = -1; /* write end */ in notify_setup()[all …]