… | |
… | |
123 | { |
123 | { |
124 | perror ("io_manager: unable to create signal pipe, aborting."); |
124 | perror ("io_manager: unable to create signal pipe, aborting."); |
125 | abort (); |
125 | abort (); |
126 | } |
126 | } |
127 | |
127 | |
128 | fcntl (sigpipe[0], F_SETFL, O_NONBLOCK); |
128 | fcntl (sigpipe[0], F_SETFL, O_NONBLOCK); fcntl (sigpipe[0], F_SETFD, FD_CLOEXEC); |
129 | fcntl (sigpipe[1], F_SETFL, O_NONBLOCK); |
129 | fcntl (sigpipe[1], F_SETFL, O_NONBLOCK); fcntl (sigpipe[1], F_SETFD, FD_CLOEXEC); |
130 | #endif |
130 | #endif |
131 | |
131 | |
132 | iom_valid = true; |
132 | iom_valid = true; |
133 | |
133 | |
134 | #if IOM_TIME |
134 | #if IOM_TIME |