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.3 by root, Sat Nov 3 21:58:51 2007 UTC vs.
Revision 1.4 by root, Sun Nov 4 15:58:50 2007 UTC

99{ 99{
100 method_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */ 100 method_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */
101 method_modify = poll_modify; 101 method_modify = poll_modify;
102 method_poll = poll_poll; 102 method_poll = poll_poll;
103 103
104 pollidxs = 0; pollidxmax = 0;
105 polls = 0; pollsmax = 0; pollscnt = 0;
106
104 return EVMETHOD_POLL; 107 return EVMETHOD_POLL;
105} 108}
109
110static void
111poll_destroy (EV_P)
112{
113 free (pollidxs);
114 free (polls);
115}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines