Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 13 years ago
parent
commit
7c44ec668f
  1. 2
      Changes
  2. 2
      ev.pod
  3. 4
      event.c
  4. 6
      event.h

2
Changes

@ -5,6 +5,8 @@ WISH? monotonic clocks times/GetTickCount for coarse corrections?
- ev_stat watchers will now use inotify as a mere hint on
kernels <2.6.25, or if the filesystem is not in the
"known to be good" list.
- better mingw32 compatibility (it's not as borked as native win32)
(analysed by Roger Pack).
3.48 Thu Oct 30 09:02:37 CET 2008
- further optimise away the EPOLL_CTL_ADD/MOD combo in the epoll

2
ev.pod

@ -11,6 +11,8 @@ libev - a high performance full-featured event loop written in C
// a single header file is required
#include <ev.h>
#include <stdio.h> // for puts
// every watcher type has its own typedef'd struct
// with the name ev_TYPE
ev_io stdin_watcher;

4
event.c

@ -41,10 +41,6 @@
#include <stdlib.h>
#include <assert.h>
#ifndef WIN32
# include <sys/time.h>
#endif
#ifdef EV_EVENT_H
# include EV_EVENT_H
#else

6
event.h

@ -50,6 +50,12 @@
extern "C" {
#endif
/* we need sys/time.h for struct timeval only */
#if !defined (WIN32) || defined (__MINGW32__)
# include <time.h> /* mingw seems to need this, for whatever reason */
# include <sys/time.h>
#endif
struct event_base;
#define EVLIST_TIMEOUT 0x01

Loading…
Cancel
Save