Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 639 of file event.c.
Referenced by adns__autosys().
{ int r, i; struct timeval now; struct pollfd pollfds[MAX_POLLFDS]; int npollfds; adns__consistency(ads,0,cc_entex); r= gettimeofday(&now,0); if (!r) adns_processtimeouts(ads,&now); /* We just use adns__fdevents to loop over the fd's trying them. * This seems more sensible than calling select, since we're most * likely just to want to do a adns_socket_read on one or two fds anyway. */ npollfds= adns__pollfds(ads,pollfds); for (i=0; i<npollfds; i++) pollfds[i].revents= pollfds[i].events & ~POLLPRI; adns__fdevents(ads, pollfds,npollfds, 0,0,0,0, now,&r); adns__consistency(ads,0,cc_entex); return 0; }