Searched refs:forksleep (Results 1 – 1 of 1) sorted by relevance
435 int rv = 0, forksleep, jwflags = JW_NONE; in exchild() local502 forksleep = 1; in exchild()503 while ((cldpid = fork()) < 0 && errno == EAGAIN && forksleep < 32) { in exchild()507 sleep(forksleep); in exchild()508 forksleep <<= 1; in exchild()562 for (forksleep = NELEM(tt_sigs); --forksleep >= 0; ) in exchild()563 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild()581 ((forksleep = open("/dev/null", 0)) > 0)) { in exchild()582 (void)ksh_dup2(forksleep, 0, true); in exchild()583 close(forksleep); in exchild()