| plan 9 kernel history: overview | file list | diff list |
1992/0314/port/tcptimer.c (diff list | history)
| 1992/0128/sys/src/9/port/tcptimer.c:23,33 – 1992/0314/sys/src/9/port/tcptimer.c:23,28 (short | long | prev | next) | ||
| 1991/0424 | for(;;) { expired = 0; | |
| 1992/0128/sys/src/9/port/tcptimer.c:34,40 – 1992/0314/sys/src/9/port/tcptimer.c:29,36 | ||
| 1991/0424 | if(tp == t) panic("Timer loop at %lux\n",(long)tp); | |
| 1992/0314 | if(t->state == TIMER_RUN) if(--(t->count) == 0){ | |
| 1991/0424 | /* Delete from active timer list */ if(timers == t) | |
| 1992/0128/sys/src/9/port/tcptimer.c:52,60 – 1992/0314/sys/src/9/port/tcptimer.c:48,61 | ||
| 1991/0424 | } qunlock(&timerlock); | |
| 1992/0314 | for(;;) { t = expired; if(t == 0) break; | |
| 1991/0424 | expired = t->next; | |
| 1992/0314 | if(t->state == TIMER_EXPIRE) if(t->func) | |
| 1991/0424 | (*t->func)(t->arg); } | |
| 1992/0128/sys/src/9/port/tcptimer.c:118,126 – 1992/0314/sys/src/9/port/tcptimer.c:119,128 | ||
| 1991/0424 | sleep(&tcpflowr, return0, 0); for(ifc = base; ifc < etab; ifc++) { | |
| 1992/0314 | if(ifc->readq) if(ifc->ref != 0) if(ifc->stproto == &tcpinfo) if(!QFULL(ifc->readq->next)) { | |
| 1991/0424 | tcprcvwin(ifc); tcp_acktimer(ifc); } | |