Searched defs:timeout (Results 1 - 20 of 20) sorted by relevance

/ast/src/cmd/ksh93/tests/
H A Dsignal.sh354 timeout() function
360 timeout 1
/ast/src/lib/libcoshell/
H A Dcowait.c129 cowait(register Coshell_t* co, Cojob_t* job, int timeout) argument
162 to = timeout >= 0 ? timeout : 60 * 1000;
167 errormsg(state.lib, 2, "coshell %d zombie wait %lu timeout=%d outstanding=<%d,%d> running=<%d,%d>", co->index, serial, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running);
179 errormsg(state.lib, 2, "coshell %d zombie wait %lu timeout=%d outstanding=<%d,%d> running=<%d,%d> reap job %d", co->index, serial, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running, cj->id);
225 errormsg(state.lib, 2, "coshell %d wait %lu.%d timeout=%d outstanding=<%d,%d> running=<%d,%d>", co->index, serial, loop, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running);
240 if (timeout >
[all...]
/ast/src/lib/libcs/
H A Dcsclient.c68 int timeout; local
112 timeout = CS_NEVER;
114 while (cspoll(cs, fds, elementsof(fds), timeout) > 0)
128 timeout = 500;
H A Dcss.c619 unsigned long timeout; local
632 timeout = 0;
634 timeout = CSTIME() + ((ms + 999) / 1000);
641 if (timeout && timeout >= cs.time)
673 if (css->disc->timeout)
675 if (css->timeout_last != css->disc->timeout)
676 css->timeout_last = css->timeout_remain = css->disc->timeout;
727 timeout = cs.time;
736 if (css->disc->timeout)
[all...]
H A Dcss.h45 #define CSS_DORMANT (1<<5) /* dormant timeout exception */
48 #define CSS_TIMEOUT (1<<8) /* timeout exception */
75 unsigned long timeout; /* timeout in ms, 0 if none */ member in struct:Cssdisc_s
H A Dmsg.h187 int timeout; member in struct:__anon347
/ast/src/lib/libtk/generic/
H A DtkSelect.h94 Tcl_TimerToken timeout; /* Token for current timeout procedure. */ member in struct:TkSelRetrievalInfo
/ast/src/lib/libtksh/tcl/
H A DtclUnixNotfy.c260 struct timeval timeout, *timeoutPtr;
279 timeoutPtr = &timeout;
280 timeout.tv_sec = timePtr->sec;
281 timeout.tv_usec = timePtr->usec;
255 struct timeval timeout, *timeoutPtr; local
H A DtclEvent.c230 * of Tcl_WaitForFile, to keep track of the file and timeout.
237 int timeout; /* Original "timeout" argument to member in struct:FileWait
244 * timeout period has elapsed. */
773 * Compute when the timeout should fire and fill in the other fields
808 * Destroys the topmost modal timeout handler, which must
816 Tcl_TimerProc *proc; /* Callback procedure for the timeout. */
825 panic("Tcl_DeleteModalTimeout found timeout stack corrupted");
1023 * Invoke the current modal timeout first, if there is one and
2168 * or writable, with an optional timeout
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dalarm.c46 void *timeout; member in struct:tevent
55 * insert timeout item on current given list in sorted order
73 tp->timeout = (void*)sh_timeradd(tp->milli,tp->flags&R_FLAG,trap_timeout,(void*)tp);
78 * delete timeout item from current given list, delete timer
92 if(item->timeout)
93 timerdel((void*)item->timeout);
102 if(tp->timeout)
122 tp->timeout = 0;
208 if(tp->timeout)
H A Dmkservice.c23 * eloop [-t timeout]
75 "[t]#[timeout?\atimeout\a is the number of milliseconds to wait "
80 "[+EXIT STATUS?If no timeout is specified, \beloop\b will not return "
82 "[+0?The specified timeout interval occurred.]"
211 static int waitnotify(int fd, long timeout, int rw) argument
242 nready = sfpoll(poll_list,pstream-poll_list,timeout);
463 register long timeout = -1; local
473 timeout = opt_info.num;
489 if(waitnotify(-1, timeout, 0)==0)
H A Dread.c22 * read [-ACprs] [-d delim] [-u filenum] [-t timeout] [-n n] [-N n] [name...]
59 long timeout; member in struct:read_save
69 long timeout = 1000*shp->st.tmout; local
83 timeout = rp->timeout;
100 timeout = sec ? 1000*sec : 1;
161 rp->timeout = timeout;
174 shp->timeout = 0;
177 r=sh_readline(shp,argv,fd,flags,len,timeout);
204 sh_readline(register Shell_t *shp,char **names, volatile int fd, int flags,ssize_t size,long timeout) argument
[all...]
/ast/src/cmd/cs/vcs_src/
H A Difs_agent.h73 char timeout[ 12 ]; member in struct:mount_item
/ast/src/lib/libcmd/
H A Dtail.c66 "[L:log?When a \b--forever\b file times out via \b--timeout\b, verify that "
72 "[s:silent?Don't warn about timeout expiration and log file changes.]"
73 "[t:timeout?Stop checking after \atimeout\a elapses with no additional "
75 "each file operand. There is no timeout by default. The default "
79 "interpreted as seconds. The supported suffixes are:]:[timeout]{"
415 unsigned long timeout = 0; local
515 timeout = strelapsed(opt_info.arg, &s, 1);
600 timeout = 0;
601 error(ERROR_warn(0), "--timeout ignored for --noforever");
622 fp->expire = timeout
[all...]
/ast/src/lib/libtk/unix/
H A DtkUnixSelect.c47 Tcl_TimerToken timeout; /* Token for timer procedure. */ member in struct:IncrInfo
168 * received within a few seconds, then timeout.
171 retr.timeout = Tcl_CreateTimerHandler(1000, SelTimeoutProc,
176 Tcl_DeleteTimerHandler(retr.timeout);
445 * timeout occurs.
542 retrPtr->timeout = Tcl_CreateTimerHandler(1000, SelTimeoutProc,
764 incr.timeout = Tcl_CreateTimerHandler(1000, IncrTimeoutProc,
801 Tcl_DeleteTimerHandler(incr.timeout);
1003 * A new timeout gets registered so that this procedure gets
1022 incrPtr->timeout
[all...]
H A DtkUnixWm.c292 int timeout; /* Non-zero means that too much time elapsed member in struct:WaitRestrictInfo
2798 * we want or a timeout happens.
2806 info.timeout = 0;
2816 if (info.timeout) {
2891 * The timeout field gest set in the WaitRestrictInfo structure.
2902 infoPtr->timeout = 1;
/ast/src/cmd/std/
H A Ddf.c316 int timeout; /* status() timed out */ member in struct:__anon228
550 * catch statvfs() timeout
554 timeout(int sig) function
556 state.timeout = 1;
560 * statvfs() with timeout
568 state.timeout = 0;
569 signal(SIGALRM, timeout);
576 if (state.timeout)
/ast/src/cmd/builtin/
H A Dpty.c82 "[t:timeout?Set the master read timeout to "
311 process(Sfio_t* mp, Sfio_t* lp, int delay, int timeout) argument
325 t = timeout;
455 masterline(Sfio_t* mp, Sfio_t* lp, char* prompt, int must, int timeout, Master_t* bp) argument
523 if ((n = sfpoll(&mp, 1, timeout)) <= 0 || !((int)sfvalue(mp) & SF_READ))
551 error(2, "read timeout");
711 dialogue(Sfio_t* mp, Sfio_t* lp, int delay, int timeout) argument
759 if (master->prompt && !masterline(mp, lp, master->prompt, 0, timeout, master))
790 if ((cond->prev->flags & SKIP) && !(cond->text = 0) || !(cond->text = masterline(mp, lp, 0, 0, timeout, maste
970 int timeout = 1000; local
[all...]
/ast/src/cmd/ksh93/sh/
H A Dio.c42 #include "timeout.h"
75 static void *timeout; variable
1908 timeout = 0;
1985 if(shp->timeout)
1986 timeout = (void*)sh_timeradd(sh_isstate(SH_GRACE)?1000L*TGRACE:1000L*shp->timeout,0,time_grace,shp);
1988 if(timeout)
1989 timerdel(timeout);
1990 timeout=0;
H A Dxec.c71 static void *timeout; variable
2287 shp->timeout = 0;
3074 timeout = 0;
3095 timeout = (void*)sh_timeradd(forkcnt, 0, timed_out, NIL(void*));
3097 if(timeout)
3103 timerdel(timeout);
3104 timeout = 0;

Completed in 71 milliseconds