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

Comparing libev/ev_poll.c (file contents):
Revision 1.15 by root, Fri Nov 23 05:00:45 2007 UTC vs.
Revision 1.16 by root, Fri Nov 23 05:13:49 2007 UTC

106} 106}
107 107
108static int 108static int
109poll_init (EV_P_ int flags) 109poll_init (EV_P_ int flags)
110{ 110{
111 method_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */ 111 backend_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */
112 method_modify = poll_modify; 112 backend_modify = poll_modify;
113 method_poll = poll_poll; 113 backend_poll = poll_poll;
114 114
115 pollidxs = 0; pollidxmax = 0; 115 pollidxs = 0; pollidxmax = 0;
116 polls = 0; pollmax = 0; pollcnt = 0; 116 polls = 0; pollmax = 0; pollcnt = 0;
117 117
118 return EVBACKEND_POLL; 118 return EVBACKEND_POLL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines