1 | Revision history for libev, a high-performance and full-featured event loop. |
1 | Revision history for libev, a high-performance and full-featured event loop. |
2 | |
2 | |
|
|
3 | WISH? monotonic clocks times/GetTickCount for coarse corrections? |
|
|
4 | |
|
|
5 | - further optimise away the EPOLL_CTL_ADD/MOD combo in the epoll |
|
|
6 | backend by assuming the kernel event mask hasn't changed if |
|
|
7 | ADD fails with EEXIST. |
|
|
8 | - use memset to initialise most arrays now and do away with the |
|
|
9 | init functions. |
|
|
10 | - expand time-out strategies into a "Be smart about timeouts" section. |
|
|
11 | - drop the "struct" from all ev_watcher declarations in the |
|
|
12 | documentation and did other clarifications (yeah, it was a mistake |
|
|
13 | to have a struct AND a function called ev_loop). |
|
|
14 | |
|
|
15 | 3.45 Tue Oct 21 21:59:26 CEST 2008 |
|
|
16 | - disable inotify usage on linux <2.6.25, as it is broken |
|
|
17 | (reported by Yoann Vandoorselaere). |
|
|
18 | - ev_stat errornously would try to add inotify watchers |
|
|
19 | even when inotify wasn't available (this should only |
|
|
20 | have a performance impact). |
|
|
21 | - ev_once now passes both timeout and io to the callback if both |
|
|
22 | occur concurrently, instead of giving timeouts precedence. |
|
|
23 | - disable EV_USE_INOTIFY when sys/inotify.h is too old. |
|
|
24 | |
|
|
25 | 3.44 Mon Sep 29 05:18:39 CEST 2008 |
|
|
26 | - embed watchers now automatically invoke ev_loop_fork on the |
|
|
27 | embedded loop when the parent loop forks. |
|
|
28 | - new function: ev_now_update (loop). |
|
|
29 | - verify_watcher was not marked static. |
|
|
30 | - improve the "associating..." manpage section. |
|
|
31 | - documentation tweaks here and there. |
|
|
32 | |
|
|
33 | 3.43 Sun Jul 6 05:34:41 CEST 2008 |
|
|
34 | - include more include files on windows to get struct _stati64 |
|
|
35 | (reported by Chris Hulbert, but doesn't quite fix his issue). |
|
|
36 | - add missing #include <io.h> in ev.c on windows (reported by |
|
|
37 | Matt Tolton). |
|
|
38 | |
|
|
39 | 3.42 Tue Jun 17 12:12:07 CEST 2008 |
|
|
40 | - work around yet another windows bug: FD_SET actually adds fd's |
|
|
41 | multiple times to the fd_*SET*, despite official MSN docs claiming |
|
|
42 | otherwise. Reported and well-analysed by Matt Tolton. |
|
|
43 | - define NFDBITS to 0 when EV_SELECT_IS_WINSOCKET to make it compile |
|
|
44 | (reported any analysed by Chris Hulbert). |
|
|
45 | - fix a bug in ev_ebadf (this function is only used to catch |
|
|
46 | programming errors in the libev user). reported by Matt Tolton. |
|
|
47 | - fix a bug in fd_intern on win32 (could lead to compile errors |
|
|
48 | under some circumstances, but would work correctly if it compiles). |
|
|
49 | reported by Matt Tolton. |
|
|
50 | - (try to) work around missing lstat on windows. |
|
|
51 | - pass in the write fd set as except fd set under windows. windows |
|
|
52 | is so uncontrollably lame that it requires this. this means that |
|
|
53 | switching off oobinline is not supported (but tcp/ip doesn't |
|
|
54 | have oob, so that would be stupid anyways. |
|
|
55 | - use posix module symbol to auto-detect monotonic clock presence |
|
|
56 | and some other default values. |
|
|
57 | |
|
|
58 | 3.41 Fri May 23 18:42:54 CEST 2008 |
|
|
59 | - work around an obscure bug in winsocket select: if you |
|
|
60 | provide only empty fd sets then select returns WSAEINVAL. how sucky. |
|
|
61 | - improve timer scheduling stability and reduce use of time_epsilon. |
|
|
62 | - use 1-based 2-heap for EV_MINIMAL, simplifies code, reduces |
|
|
63 | codesize and makes for better cache-efficiency. |
|
|
64 | - use 3-based 4-heap for !EV_MINIMAL. this makes better use |
|
|
65 | of cpu cache lines and gives better growth behaviour than |
|
|
66 | 2-based heaps. |
|
|
67 | - cache timestamp within heap for !EV_MINIMAL, to avoid random |
|
|
68 | memory accesses. |
|
|
69 | - document/add EV_USE_4HEAP and EV_HEAP_CACHE_AT. |
|
|
70 | - fix a potential aliasing issue in ev_timer_again. |
|
|
71 | - add/document ev_periodic_at, retract direct access to ->at. |
|
|
72 | - improve ev_stat docs. |
|
|
73 | - add portability requirements section. |
|
|
74 | - fix manpage headers etc. |
|
|
75 | - normalise WSA error codes to lower range on windows. |
|
|
76 | - add consistency check code that can be called automatically |
|
|
77 | or on demand to check for internal structures (ev_loop_verify). |
|
|
78 | |
|
|
79 | 3.31 Wed Apr 16 20:45:04 CEST 2008 |
|
|
80 | - added last minute fix for ev_poll.c by Brandon Black. |
|
|
81 | |
|
|
82 | 3.3 Wed Apr 16 19:04:10 CEST 2008 |
3 | - event_base_loopexit should return 0 on success |
83 | - event_base_loopexit should return 0 on success |
4 | (W.C.A. Wijngaards). |
84 | (W.C.A. Wijngaards). |
5 | - added linux eventfd support. |
85 | - added linux eventfd support. |
6 | - try to autodetect epoll and inotify support |
86 | - try to autodetect epoll and inotify support |
7 | by libc header version if not using autoconf. |
87 | by libc header version if not using autoconf. |