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 | TODO: ev_loop_prefork hint? |
|
|
4 | TODO: ev_loop_wakeup |
3 | TODO: ev_loop_wakeup |
5 | TODO: confusion about threads ongiong |
4 | TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) |
6 | TODO: not_blocked flag. |
5 | TODO: faq, process a thing in each iteration |
|
|
6 | TODO: dbeugging tips, ev_verify, ev_init twice |
7 | |
7 | |
|
|
8 | TODO: document the special problem of signals around fork. |
|
|
9 | TODO: ev_feed_child_event |
|
|
10 | - destroying a non-default loop would stop the global waitpid |
|
|
11 | watcher (Denis Bilenko). |
|
|
12 | - queueing pending watchers of higher priority from a watcher now invokes |
|
|
13 | them in a timely fashion (reported by Denis Bilenko). |
|
|
14 | - add throw() to all libev functions that cannot throw exceptions, for |
|
|
15 | further code size decrease when compiling for C++. |
|
|
16 | - add throw () to callbacks that must not throw exceptions (allocator, |
|
|
17 | syserr, loop acquire/release, periodic reschedule cbs). |
|
|
18 | - fix event_base_loop return code, add event_get_callback, event_base_new, |
|
|
19 | event_base_get_method calls to improve libevent 1.x emulation and add |
|
|
20 | some libevent 2.x functionality (based on a patch by Jeff Davey). |
|
|
21 | - add more memory fences to fix a bug reported by Jeff Davey. Better |
|
|
22 | be overfenced than underprotected. |
|
|
23 | - ev_run now returns a boolean status (true meaning watchers are |
|
|
24 | still active). |
|
|
25 | - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with |
|
|
26 | libev's EV_ERROR (reported by 191919). |
|
|
27 | - (ecb) add memory fence support for xlC (Darin McBride). |
|
|
28 | - (ecb) add memory fence support for gcc-mips (Anton Kirilov). |
|
|
29 | - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). |
|
|
30 | - work around some kernels losing file descriptors by leaking |
|
|
31 | the kqueue descriptor in the child. |
|
|
32 | - include sys/syscall.h instead of plain syscall.h. |
|
|
33 | - check for io watcher loops in ev_verify, check for the most |
|
|
34 | common reported usage bug in ev_io_start. |
|
|
35 | - chose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET. |
|
|
36 | - always use WSASend/WSARecv directly on windows, hoping that this |
|
|
37 | works in all cases (unlike read/write/send/recv...). |
|
|
38 | - try to detect signals around a fork faster (test program by |
|
|
39 | Denis Bilenko). |
|
|
40 | |
|
|
41 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
|
|
42 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
|
|
43 | was documented already, but not implemented in the repeating case. |
|
|
44 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
|
|
45 | - fix a race where the workaround against the epoll fork bugs |
|
|
46 | caused signals to not be handled anymore. |
8 | - correct backend_fudge for most backends, and implement a windows |
47 | - correct backend_fudge for most backends, and implement a windows |
9 | specific workaround to avoid looping because we call both |
48 | specific workaround to avoid looping because we call both |
10 | select and Sleep, both with different time resolutions. |
49 | select and Sleep, both with different time resolutions. |
|
|
50 | - document range and guarantees of ev_sleep. |
|
|
51 | - document reasonable ranges for periodics interval and offset. |
|
|
52 | - rename backend_fudge to backend_mintime to avoid future confusion :) |
11 | - change the default periodic reschedule function to hopefully be more |
53 | - change the default periodic reschedule function to hopefully be more |
12 | exact and correct even in corner cases or in the far future. |
54 | exact and correct even in corner cases or in the far future. |
13 | - document reasonable ranges for interval and offset. |
|
|
14 | - do not rely on -lm anymore: use it when available but use our |
55 | - do not rely on -lm anymore: use it when available but use our |
15 | own floor () if it is missing. This should make it easier to embed. |
56 | own floor () if it is missing. This should make it easier to embed, |
|
|
57 | as no external libraries are required. |
|
|
58 | - strategically import macros from libecb and mark rarely-used functions |
|
|
59 | as cache-cold (saving almost 2k code size on typical amd64 setups). |
|
|
60 | - add Symbols.ev and Symbols.event files, that were missing. |
|
|
61 | - fix backend_mintime value for epoll (was 1/1024, is 1/1000 now). |
|
|
62 | - fix #3 "be smart about timeouts" to not "deadlock" when |
|
|
63 | timeout == now, also improve the section overall. |
|
|
64 | - avoid "AVOIDING FINISHING BEFORE RETURNING" idiom. |
|
|
65 | - support new EV_API_STATIC mode to make all libev symbols |
|
|
66 | static. |
|
|
67 | - supply default CFLAGS of -g -O3 with gcc when original CFLAGS |
|
|
68 | were empty. |
16 | |
69 | |
17 | 4.04 Wed Feb 16 09:01:51 CET 2011 |
70 | 4.04 Wed Feb 16 09:01:51 CET 2011 |
18 | - fix two problems in the native win32 backend, where reuse of fd's |
71 | - fix two problems in the native win32 backend, where reuse of fd's |
19 | with different underlying handles caused handles not to be removed |
72 | with different underlying handles caused handles not to be removed |
20 | or added to the select set (analyzed and tested by Bert Belder). |
73 | or added to the select set (analyzed and tested by Bert Belder). |
… | |
… | |
106 | catch race conditions, but the users have spoken. |
159 | catch race conditions, but the users have spoken. |
107 | - point out the unspecified signal mask in the documentation, and |
160 | - point out the unspecified signal mask in the documentation, and |
108 | that this is a race condition regardless of EV_SIGNALFD. |
161 | that this is a race condition regardless of EV_SIGNALFD. |
109 | - backport inotify code to C89. |
162 | - backport inotify code to C89. |
110 | - inotify file descriptors could leak into child processes. |
163 | - inotify file descriptors could leak into child processes. |
111 | - ev_stat watchers could keep an errornous extra ref on the loop, |
164 | - ev_stat watchers could keep an erroneous extra ref on the loop, |
112 | preventing exit when unregistering all watchers (testcases |
165 | preventing exit when unregistering all watchers (testcases |
113 | provided by ry@tinyclouds.org). |
166 | provided by ry@tinyclouds.org). |
114 | - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration |
167 | - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration |
115 | symbols to make it easier for apps to do their own fd management. |
168 | symbols to make it easier for apps to do their own fd management. |
116 | - support EV_IDLE_ENABLE being disabled in ev++.h |
169 | - support EV_IDLE_ENABLE being disabled in ev++.h |
… | |
… | |
174 | - correctly zero the idx values for arrays, so destroying and |
227 | - correctly zero the idx values for arrays, so destroying and |
175 | reinitialising the default loop actually works (patch by |
228 | reinitialising the default loop actually works (patch by |
176 | Malek Hadj-Ali). |
229 | Malek Hadj-Ali). |
177 | - implement ev_suspend and ev_resume. |
230 | - implement ev_suspend and ev_resume. |
178 | - new EV_CUSTOM revents flag for use by applications. |
231 | - new EV_CUSTOM revents flag for use by applications. |
179 | - add documentation section about priorites. |
232 | - add documentation section about priorities. |
180 | - add a glossary to the dcoumentation. |
233 | - add a glossary to the dcoumentation. |
181 | - extend the ev_fork description slightly. |
234 | - extend the ev_fork description slightly. |
182 | - optimize a jump out of call_pending. |
235 | - optimize a jump out of call_pending. |
183 | |
236 | |
184 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
237 | 3.53 Sun Feb 15 02:38:20 CET 2009 |