Home
last modified time | relevance | path

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

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