diff options
-rw-r--r-- | ev.h | 3 | ||||
-rw-r--r-- | event.h | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -181,7 +181,8 @@ struct ev_child #define EVMETHOD_POLL 2 #define EVMETHOD_EPOLL 4 #define EVMETHOD_KQUEUE 8 -#define EVMETHOD_DEVPOLL 16 +#define EVMETHOD_DEVPOLL 16 /* NYI */ +#define EVMETHOD_PORT 32 /* NYI */ #define EVMETHOD_ANY ~0 /* any method, do not consult env */ #if EV_PROTOTYPES extern int ev_method; @@ -39,7 +39,7 @@ extern "C" { struct event { - /* lib watchers we map to */ + /* libev watchers we map onto */ union { struct ev_io io; struct ev_signal sig; @@ -120,3 +120,4 @@ int event_base_once (struct event_base *base, int fd, short events, void (*cb)(i int event_base_priority_init (struct event_base *base, int fd); #endif + |