Home
last modified time | relevance | path

Searched refs:forksleep (Results 1 – 1 of 1) sorted by relevance

/external/mksh/src/
Djobs.c435 int rv = 0, forksleep, jwflags = JW_NONE; in exchild() local
502 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()