Lines Matching refs:set
51 bool Subprocess::Start(SubprocessSet* set, const string& command) {
81 err = posix_spawnattr_setsigmask(&attr, &set->old_mask_);
84 // Signals which are set to be caught in the calling process image are set to
209 sigset_t set;
210 sigemptyset(&set);
211 sigaddset(&set, SIGINT);
212 sigaddset(&set, SIGTERM);
213 sigaddset(&set, SIGHUP);
214 if (sigprocmask(SIG_BLOCK, &set, &old_mask_) < 0)
303 fd_set set;
305 FD_ZERO(&set);
311 FD_SET(fd, &set);
318 int ret = pselect(nfds, &set, 0, 0, 0, &old_mask_);
334 if (fd >= 0 && FD_ISSET(fd, &set)) {