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