version 1.8, 2003/08/15 23:01:32
|
version 1.9, 2003/08/16 00:49:13
|
Line 75 void dispatch (void)
|
Line 75 void dispatch (void)
|
|| ((st != NULL) && output_acceptable ())) { |
|| ((st != NULL) && output_acceptable ())) { |
tmo = 0; |
tmo = 0; |
} |
} |
warn (LDEB,"Poll",EDIS,0,1,tmo); |
warn (LDEB,"Poll",EDIS,1,nfds,tmo); |
#ifdef DEBUG_TIMEPOLL |
#ifdef DEBUG_TIMEPOLL |
ltp->tmo = tmo; |
ltp->tmo = tmo; |
if (ltp->usec != 0) { |
if (ltp->usec != 0) { |
Line 115 void dispatch (void)
|
Line 115 void dispatch (void)
|
ltp->usec = tv.tv_usec; |
ltp->usec = tv.tv_usec; |
} |
} |
#endif |
#endif |
warn (LDEB,"Poll done",EDIS,0,2,nfds); |
warn (LDEB,"Poll done",EDIS,0,2,pollresult); |
if ((0 < onfds) |
if ((0 < onfds) |
&& (ufds[0].revents & (POLLIN | POLLHUP | POLLERR))) { |
&& (ufds[0].revents & (POLLIN | POLLHUP | POLLERR))) { |
command_process (ufds[0].revents & POLLIN); |
command_process (ufds[0].revents & POLLIN); |