Searched refs:forkcnt (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dxec.c240 int forkcnt = 1; local
273 if ((forkcnt = (forkcnt * 2)) > FORKLIM)
292 sh_sleep(forkcnt);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c2374 static long forkcnt = 1000L; local
2382 if((forkcnt *= 2) > 1000L*SH_FORKLIM)
2384 forkcnt=1000L;
2387 timeout = (void*)sh_timeradd(forkcnt, 0, timed_out, NIL(void*));
2393 else if(forkcnt>1000L)
2394 forkcnt /= 2;
2400 forkcnt = 1000L;

Completed in 65 milliseconds