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.47 by sf-exg, Sat Jul 31 23:00:11 2010 UTC vs.
Revision 1.48 by root, Fri Oct 15 22:44:42 2010 UTC

139 struct timeval tv; 139 struct timeval tv;
140 int res; 140 int res;
141 int fd_setsize; 141 int fd_setsize;
142 142
143 EV_RELEASE_CB; 143 EV_RELEASE_CB;
144 tv.tv_sec = (long)timeout; 144 EV_TV_SET (tv, timeout);
145 tv.tv_usec = (long)((timeout - (ev_tstamp)tv.tv_sec) * 1e6);
146 145
147#if EV_SELECT_USE_FD_SET 146#if EV_SELECT_USE_FD_SET
148 fd_setsize = sizeof (fd_set); 147 fd_setsize = sizeof (fd_set);
149#else 148#else
150 fd_setsize = vec_max * NFDBYTES; 149 fd_setsize = vec_max * NFDBYTES;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines