Searched refs:forksleep (Results 1 – 1 of 1) sorted by relevance
343 int rv = 0, forksleep; in exchild() local402 forksleep = 1; in exchild()403 while ((pi.cldpid = fork()) < 0 && errno == EAGAIN && forksleep < 32) { in exchild()406 sleep(forksleep); in exchild()407 forksleep <<= 1; in exchild()459 for (forksleep = NELEM(tt_sigs); --forksleep >= 0; ) in exchild()460 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild()478 ((forksleep = open("/dev/null", 0)) > 0)) { in exchild()479 (void)ksh_dup2(forksleep, 0, true); in exchild()480 close(forksleep); in exchild()