Searched refs:forksleep (Results 1 – 1 of 1) sorted by relevance
442 int rv = 0, forksleep, jwflags = JW_NONE; in exchild() local508 forksleep = 1; in exchild()509 while ((cldpid = fork()) < 0 && errno == EAGAIN && forksleep < 32) { in exchild()513 sleep(forksleep); in exchild()514 forksleep <<= 1; in exchild()568 for (forksleep = NELEM(tt_sigs); --forksleep >= 0; ) in exchild()569 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild()587 ((forksleep = open("/dev/null", 0)) > 0)) { in exchild()588 (void)ksh_dup2(forksleep, 0, true); in exchild()589 close(forksleep); in exchild()