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? |
3 | - new config symbol, EV_USE_CLOCK_SYSCALL, to make libev use |
4 | TODO: make ev_once timeout=0 useful, and make I/O always win. |
4 | a direct syscall - slower, but no dependency on librt et al. |
|
|
5 | - assume negative return values != -1 signals success of port_getn |
|
|
6 | (http://cvs.epicsol.org/cgi/viewcvs.cgi/epic5/source/newio.c?rev=1.52) |
|
|
7 | (no known failure reports, but it doesn't hurt). |
|
|
8 | |
|
|
9 | 3.49 Wed Nov 19 11:26:53 CET 2008 |
|
|
10 | - ev_stat watchers will now use inotify as a mere hint on |
|
|
11 | kernels <2.6.25, or if the filesystem is not in the |
|
|
12 | "known to be good" list. |
|
|
13 | - better mingw32 compatibility (it's not as borked as native win32) |
|
|
14 | (analysed by Roger Pack). |
|
|
15 | - include stdio.h in the example program, as too many people are |
|
|
16 | confused by the weird C language otherwise. I guess the next thing |
|
|
17 | I get told is that the "..." ellipses in the examples don't compile |
|
|
18 | with their C compiler. |
|
|
19 | |
|
|
20 | 3.48 Thu Oct 30 09:02:37 CET 2008 |
|
|
21 | - further optimise away the EPOLL_CTL_ADD/MOD combo in the epoll |
|
|
22 | backend by assuming the kernel event mask hasn't changed if |
|
|
23 | ADD fails with EEXIST. |
|
|
24 | - work around spurious event notification bugs in epoll by using |
|
|
25 | a 32-bit generation counter. recreate kernel state if we receive |
|
|
26 | spurious notifications or unwanted events. this is very costly, |
|
|
27 | but I didn't come up with this horrible design. |
|
|
28 | - use memset to initialise most arrays now and do away with the |
|
|
29 | init functions. |
|
|
30 | - expand time-out strategies into a "Be smart about timeouts" section. |
|
|
31 | - drop the "struct" from all ev_watcher declarations in the |
|
|
32 | documentation and did other clarifications (yeah, it was a mistake |
|
|
33 | to have a struct AND a function called ev_loop). |
|
|
34 | - fix a bug where ev_default would not initialise the default |
|
|
35 | loop again after it was destroyed with ev_default_destroy. |
|
|
36 | - rename syserr to ev_syserr to avoid name clashes when embedding, |
|
|
37 | do similar changes for event.c. |
|
|
38 | |
|
|
39 | 3.45 Tue Oct 21 21:59:26 CEST 2008 |
|
|
40 | - disable inotify usage on linux <2.6.25, as it is broken |
|
|
41 | (reported by Yoann Vandoorselaere). |
|
|
42 | - ev_stat errornously would try to add inotify watchers |
|
|
43 | even when inotify wasn't available (this should only |
|
|
44 | have a performance impact). |
|
|
45 | - ev_once now passes both timeout and io to the callback if both |
|
|
46 | occur concurrently, instead of giving timeouts precedence. |
|
|
47 | - disable EV_USE_INOTIFY when sys/inotify.h is too old. |
|
|
48 | |
5 | 3.44 Mon Sep 29 05:18:39 CEST 2008 |
49 | 3.44 Mon Sep 29 05:18:39 CEST 2008 |
6 | - embed watchers now automatically invoke ev_loop_fork on the |
50 | - embed watchers now automatically invoke ev_loop_fork on the |
7 | embedded loop when the parent loop forks. |
51 | embedded loop when the parent loop forks. |
8 | - new function: ev_now_update (loop). |
52 | - new function: ev_now_update (loop). |
9 | - verify_watcher was not marked static. |
53 | - verify_watcher was not marked static. |