summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-12-18 17:47:23 +0000
committerroot <root>2011-12-18 17:47:23 +0000
commit6e8b65d3bcd8ea5604b3ec45681c67746a5a4772 (patch)
tree3cff261c8bea5e0b0936e502fb38057e002b479d
parent1538571fb1f09ace6bcafba2b53c86a1e2881991 (diff)
*** empty log message ***
-rw-r--r--Changes1
-rw-r--r--ev_epoll.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changes b/Changes
index 1daf3a7..ea26c81 100644
--- a/Changes
+++ b/Changes
@@ -23,6 +23,7 @@ TODO: memory fences for clang
- strategically import macros from libecb and mark rarely-used functions
as cache-cold (saving almost 2k code size on typical amd64 setups).
- add Symbols.ev and Symbols.event files, that were missing.
+ - fix backend_mintime value for epoll (was 1/1024, is 1/1000 now).
4.04 Wed Feb 16 09:01:51 CET 2011
- fix two problems in the native win32 backend, where reuse of fd's
diff --git a/ev_epoll.c b/ev_epoll.c
index 240b7b9..b4e02c2 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -247,7 +247,7 @@ epoll_init (EV_P_ int flags)
fcntl (backend_fd, F_SETFD, FD_CLOEXEC);
- backend_mintime = 1./1024.; /* epoll does sometimes return early, this is just to avoid the worst */
+ backend_mintime = 1e-3; /* epoll does sometimes return early, this is just to avoid the worst */
backend_modify = epoll_modify;
backend_poll = epoll_poll;