Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 12 years ago
parent
commit
bc656a2010
  1. 1
      Changes
  2. 2
      ev.c

1
Changes

@ -1,6 +1,7 @@
Revision history for libev, a high-performance and full-featured event loop.
TODO: ev_walk
TODO: signal handling per loop
- ev_unloop and ev_loop wrongly used a global variable to exit loops,
instead of using a per-loop variable (bug caught by accident...).

2
ev.c

@ -649,7 +649,7 @@ ev_sleep (ev_tstamp delay)
tv.tv_usec = (long)((delay - (ev_tstamp)(tv.tv_sec)) * 1e6);
/* here we rely on sys/time.h + sys/types.h + unistd.h providing select */
/* somehting not guaranteed by newer posix versions, but guaranteed */
/* something not guaranteed by newer posix versions, but guaranteed */
/* by older ones */
select (0, 0, 0, 0, &tv);
#endif

Loading…
Cancel
Save