ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.63 by root, Thu Nov 29 20:05:59 2007 UTC vs.
Revision 1.64 by root, Sat Dec 1 15:32:53 2007 UTC

1457 1457
1458 // create io watchers for each fd and a timer before blocking 1458 // create io watchers for each fd and a timer before blocking
1459 static void 1459 static void
1460 adns_prepare_cb (ev_loop *loop, ev_prepare *w, int revents) 1460 adns_prepare_cb (ev_loop *loop, ev_prepare *w, int revents)
1461 { 1461 {
1462 int timeout = 3600000;truct pollfd fds [nfd]; 1462 int timeout = 3600000;
1463 struct pollfd fds [nfd];
1463 // actual code will need to loop here and realloc etc. 1464 // actual code will need to loop here and realloc etc.
1464 adns_beforepoll (ads, fds, &nfd, &timeout, timeval_from (ev_time ())); 1465 adns_beforepoll (ads, fds, &nfd, &timeout, timeval_from (ev_time ()));
1465 1466
1466 /* the callback is illegal, but won't be called as we stop during check */ 1467 /* the callback is illegal, but won't be called as we stop during check */
1467 ev_timer_init (&tw, 0, timeout * 1e-3); 1468 ev_timer_init (&tw, 0, timeout * 1e-3);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines