Searched refs:notify_pipe (Results 1 – 1 of 1) sorted by relevance
122 static int notify_pipe[2]; variable126 if (pipe(notify_pipe) == -1) { in notify_setup()128 } else if ((fcntl(notify_pipe[0], F_SETFD, FD_CLOEXEC) == -1) || in notify_setup()129 (fcntl(notify_pipe[1], F_SETFD, FD_CLOEXEC) == -1)) { in notify_setup()131 close(notify_pipe[0]); in notify_setup()132 close(notify_pipe[1]); in notify_setup()134 set_nonblock(notify_pipe[0]); in notify_setup()135 set_nonblock(notify_pipe[1]); in notify_setup()138 notify_pipe[0] = -1; /* read end */ in notify_setup()139 notify_pipe[1] = -1; /* write end */ in notify_setup()[all …]