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

/ast/src/cmd/ksh93/sh/
H A Dtimers.c32 double wakeup; member in struct:_timer
116 if(tp->wakeup <=now)
118 if(!tpold || tpold->wakeup>tp->wakeup)
123 if(!tpmin || tpmin->wakeup>tp->wakeup)
140 while((tp->wakeup += tp->incr) <= now);
141 if(!tpmin || tpmin->wakeup>tp->wakeup)
144 if(tpmin && (left==0 || (tp && tpmin->wakeup < (no
[all...]
/ast/src/cmd/cs/
H A Dpid.c225 unsigned long wakeup; local
229 wakeup = ~0;
255 if (pp->expire < wakeup)
256 wakeup = pp->expire;
260 if (wakeup == ~0)
263 wakeup = CS_SVC_DORMANT;
265 else wakeup -= cs.time;
266 cswakeup(wakeup * 1000L);
H A Dtst.c130 error(2, "wakeup");
148 disc.wakeup = 4 * 1000L;
/ast/src/lib/libcs/
H A Dcss.h49 #define CSS_WAKEUP (1<<9) /* wakeup exception */
76 unsigned long wakeup; /* wakeup in ms, 0 if none */ member in struct:Cssdisc_s
H A Dcsserve.c103 * csserve() wakeup and timeout are mutually exclusive
113 state->server->css->disc->wakeup = 0;
120 * csserve() wakeup and timeout are mutually exclusive
131 rv = state->server->css->disc->wakeup;
132 state->server->css->disc->wakeup = ms;
H A Dcss.c680 if (css->disc->wakeup)
682 if (css->wakeup_last != css->disc->wakeup)
683 css->wakeup_last = css->wakeup_remain = css->disc->wakeup;
751 if (css->disc->wakeup)
753 messagef((state.main->id, NiL, -4, "csspoll: pending=%d polling=%d z=%I*d wakeup=%I*d remain=%I*d", state.fdpending, state.fdpolling, sizeof(z), z, sizeof(css->disc->wakeup), css->disc->wakeup, sizeof(css->wakeup_remain), css->wakeup_remain));
757 css->wakeup_last = css->wakeup_remain = css->disc->wakeup;
/ast/src/cmd/coshell/
H A Djob.c182 if (state.jobwait || state.shellwait) cswakeup(state.wakeup = UPDATE * 1000L);
183 else if (!state.busy || !state.running) cswakeup(state.wakeup = 0L);
184 else if (!only) cswakeup(state.wakeup = UPDATE * 1000L);
236 cswakeup(state.wakeup = 0L);
H A Dservice.h340 unsigned long wakeup; member in struct:__anon66
H A Dshell.c291 if (state.busy) cswakeup(state.wakeup = UPDATE * 1000L);
H A Dcommand.c538 sfprintf(state.string, " wakeup %-6s\n", fmtelapsed(state.wakeup, 1000));
H A Dmain.c724 wakeup(void* handle) function
962 csserve(NiL, state.service, init, NiL, user, service, NiL, wakeup);
/ast/src/cmd/nmake/
H A Dtrap.c100 * (re)initialize wakeup rule pointers
114 * set next wakeup time
152 * wakeup in t seconds and make rules in p
157 wakeup(Seconds_t t, register List_t* p) function
H A Dmake.h1057 extern void wakeup(Seconds_t, List_t*);
H A Drule.c691 wakeup(t, p);
/ast/src/cmd/at/
H A Datd.c661 state->disc.wakeup = 0;
666 state->disc.wakeup = x;
667 message((-2, "wakeup %s", fmtelapsed(x, 1000)));

Completed in 53 milliseconds