Lines Matching refs:sync_fds
27 int sync_fds[2];
29 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sync_fds)) {
36 close_ret = IGNORE_EINTR(close(sync_fds[0]));
38 close_ret = IGNORE_EINTR(close(sync_fds[1]));
53 close_ret = IGNORE_EINTR(close(sync_fds[0]));
55 close_ret = shutdown(sync_fds[1], SHUT_RD);
60 CHECK(HANDLE_EINTR(send(sync_fds[1], "C", 1, MSG_NOSIGNAL)) == 1);
61 close_ret = IGNORE_EINTR(close(sync_fds[1]));
86 close_ret = IGNORE_EINTR(close(sync_fds[1]));
88 close_ret = shutdown(sync_fds[0], SHUT_WR);
91 int read_ret = HANDLE_EINTR(read(sync_fds[0], &should_continue, 1));
92 close_ret = IGNORE_EINTR(close(sync_fds[0]));