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

Comparing libev/ev_select.c (file contents):
Revision 1.11 by root, Sun Nov 4 00:24:17 2007 UTC vs.
Revision 1.12 by root, Sun Nov 4 15:58:50 2007 UTC

126{ 126{
127 method_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */ 127 method_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */
128 method_modify = select_modify; 128 method_modify = select_modify;
129 method_poll = select_poll; 129 method_poll = select_poll;
130 130
131 vec_max = 0;
132 vec_ri = 0;
133 vec_ri = 0;
134 vec_wo = 0;
135 vec_wo = 0;
136
131 return EVMETHOD_SELECT; 137 return EVMETHOD_SELECT;
132} 138}
133 139
140static void
141select_destroy (EV_P)
142{
143 free (vec_ri);
144 free (vec_ro);
145 free (vec_wi);
146 free (vec_wo);
147}
148
149

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines