From 08f366939c60afffe3eb0bf658f52a607c8bb693 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Nov 2007 16:58:00 +0000 Subject: *** empty log message *** --- README | 9 +++------ README.embed | 9 +++++++++ ev_select.c | 1 - evdns.c | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README b/README index 6dc26f9..de8bb0b 100644 --- a/README +++ b/README @@ -71,11 +71,8 @@ at http://libev.schmorp.de/bench.html). whats missing? -- evbuffer, evhttp, bufferevent are missing. +- no event-like priority support at the moment (the ev priorities + are not yet finished and work differently, but you cna use idle watchers + to get a similar effect). -- no priority support at the moment (but likely to be delivered later). - -- kqueue, poll (libev currently implements epoll and select). - -- windows support (whats windows?). diff --git a/README.embed b/README.embed index 7712102..fca648e 100644 --- a/README.embed +++ b/README.embed @@ -92,6 +92,15 @@ PREPROCESSOR SYMBOLS done: if no other method takes over, select will be it. Otherwise the select backend will not be compiled in. + EV_SELECT_USE_WIN32_HANDLES + + When defined to 1, the select backend will assume that select + doesn't understand file descriptors but wants osf handles on + win32 (this is the case when the select to be used is the winsock + select). This means that it will call _get_osfhandle on the fd to + convert it to an OS handle. Should not be defined on non-win32 + platforms. + EV_USE_POLL If defined to be "1", libev will compile in support for the poll(2) diff --git a/ev_select.c b/ev_select.c index fc32b20..7fe9084 100644 --- a/ev_select.c +++ b/ev_select.c @@ -43,7 +43,6 @@ typedef unsigned int uint32_t; #if EV_SELECT_USE_WIN32_HANDLES # undef EV_SELECT_USE_FD_SET # define EV_SELECT_USE_FD_SET 1 -#else #endif #include diff --git a/evdns.c b/evdns.c index 3abd5fb..a006638 100644 --- a/evdns.c +++ b/evdns.c @@ -1,4 +1,4 @@ -/* $Id: evdns.c,v 1.19 2007-11-06 18:49:32 root Exp $ */ +/* $Id: evdns.c,v 1.20 2007-11-08 16:58:00 root Exp $ */ /* The original version of this module was written by Adam Langley; for * a history of modifications, check out the subversion logs. -- cgit v1.2.3