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

/osnet-11/usr/src/lib/libshell/common/sh/
H A Dxec.c2897 static long forkcnt = 1000L; local
2904 if((forkcnt *= 2) > 1000L*SH_FORKLIM)
2906 forkcnt=1000L;
2909 timeout = (void*)sh_timeradd(forkcnt, 0, timed_out, NIL(void*));
2915 else if(forkcnt>1000L)
2916 forkcnt /= 2;
2922 forkcnt = 1000L;

Completed in 137 milliseconds