Searched refs:forksleep (Results 1 – 1 of 1) sorted by relevance
448 int rv = 0, forksleep, jwflags = JW_NONE; in exchild() local514 forksleep = 1; in exchild()515 while ((cldpid = fork()) < 0 && errno == EAGAIN && forksleep < 32) { in exchild()519 sleep(forksleep); in exchild()520 forksleep <<= 1; in exchild()574 for (forksleep = NELEM(tt_sigs); --forksleep >= 0; ) in exchild()575 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild()593 ((forksleep = open("/dev/null", 0)) > 0)) { in exchild()594 (void)ksh_dup2(forksleep, 0, true); in exchild()595 close(forksleep); in exchild()