Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 11 years ago
parent
commit
bc656a2010
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      Changes
  2. +1
    -1
      ev.c

+ 1
- 0
Changes View File

@ -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...).


+ 1
- 1
ev.c View File

@ -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