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

Comparing libev/ev_port.c (file contents):
Revision 1.31 by root, Mon Jul 1 20:47:38 2019 UTC vs.
Revision 1.32 by root, Sun Jul 7 06:00:32 2019 UTC

152 152
153 fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */ 153 fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */
154 154
155 /* if my reading of the opensolaris kernel sources are correct, then 155 /* if my reading of the opensolaris kernel sources are correct, then
156 * opensolaris does something very stupid: it checks if the time has already 156 * opensolaris does something very stupid: it checks if the time has already
157 * elapsed and doesn't round up if that is the case,m otherwise it DOES round 157 * elapsed and doesn't round up if that is the case, otherwise it DOES round
158 * up. Since we can't know what the case is, we need to guess by using a 158 * up. Since we can't know what the case is, we need to guess by using a
159 * "large enough" timeout. Normally, 1e-9 would be correct. 159 * "large enough" timeout. Normally, 1e-9 would be correct.
160 */ 160 */
161 backend_mintime = 1e-3; /* needed to compensate for port_getn returning early */ 161 backend_mintime = 1e-3; /* needed to compensate for port_getn returning early */
162 backend_modify = port_modify; 162 backend_modify = port_modify;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines