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

Comparing libev/ev.c (file contents):
Revision 1.256 by root, Thu Jun 19 06:53:49 2008 UTC vs.
Revision 1.257 by root, Sun Jun 29 22:32:51 2008 UTC

565 struct timeval tv; 565 struct timeval tv;
566 566
567 tv.tv_sec = (time_t)delay; 567 tv.tv_sec = (time_t)delay;
568 tv.tv_usec = (long)((delay - (ev_tstamp)(tv.tv_sec)) * 1e6); 568 tv.tv_usec = (long)((delay - (ev_tstamp)(tv.tv_sec)) * 1e6);
569 569
570 /* here we rely on sys/time.h + sys/types.h + unistd.h providing select */
571 /* somehting nto guaranteed by newer posix versions, but guaranteed */
572 /* by older ones */
570 select (0, 0, 0, 0, &tv); 573 select (0, 0, 0, 0, &tv);
571#endif 574#endif
572 } 575 }
573} 576}
574 577

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines