1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
2 | |
2 | |
3 | TODO: possibly convert some of the Event modules into AnyEvent users. |
3 | 3.0 |
|
|
4 | - reimplement a new stack sharing algorithm. |
|
|
5 | - make stack sharing mandatory (it no longer uses a heuristic). |
|
|
6 | - eval/die no longer cause weird problems under heavy use. |
|
|
7 | - Coro::Event could cause livelocks if it was used but |
|
|
8 | no Coro::Event watchers were used. |
|
|
9 | - Coro::Event should be cleaner and more efficient now. |
|
|
10 | - minor incompatibility: subclassing Coro::State is supported |
|
|
11 | directly now without going through a _coro_state member. |
|
|
12 | - state/coro switching is much faster now. |
|
|
13 | - very minor optimisations and code/documentation cleanup. |
|
|
14 | - avoid problems due to compiler inlining. |
|
|
15 | - removed timers from Coro::Timer -> use AnyEvent instead. |
|
|
16 | - replaced Coro::idle coroutine by (cleaner) idle handler. |
|
|
17 | - updated to newest libcoro. |
|
|
18 | - implement enhanced support for valgrind. |
|
|
19 | - implement is_ready and return value for ready. |
4 | |
20 | |
|
|
21 | 2.5 Tue Nov 7 12:22:33 CET 2006 |
|
|
22 | - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket |
|
|
23 | use AnyEvent, moved them to Coro/. |
5 | - added Coro::LWP which contains all the uglyness of making LWP |
24 | - added Coro::LWP which contains all the uglyness required to |
6 | non-blocking. |
25 | make LWP non-blocking. |
7 | - should compile with perl 5.9.x now. |
26 | - should work with perl 5.9.x now (Andreas König made me do it). |
|
|
27 | - fixed another bug in Coro::Select when the timeout was undef. |
8 | - reuse PL_start_env for all coros, saves some memory per coroutine. |
28 | - reuse PL_start_env for all coros, saves some memory per coroutine. |
9 | - manage PL_top_env differently, hopefully to avoid panic: top_env. |
29 | - manage PL_top_env differently, hopefully to avoid panic: top_env. |
10 | - timeout argument was not properly used in Coro::Socket. |
30 | - timeout argument was not properly used in Coro::Socket. |
11 | - allow limited forms of subclassing in Coro::Handle/Coro::Socket. |
31 | - allow limited forms of subclassing in Coro::Handle/Coro::Socket. |
12 | - emulate undocumented(!) functionality of IO::Socket required |
32 | - emulate undocumented(!) functionality of IO::Socket required |
13 | by LWP(!!). |
33 | by LWP(!!). |
14 | - updated eg/lwp to work with newer lwp's. |
34 | - updated eg/lwp to work with newer lwp's. |
15 | - made Coro::Util an AnyEvent user, moved it to Coro/. |
|
|
16 | - remove "FATAL: uncaught exception" prefix. coroutines that die |
35 | - remove "FATAL: uncaught exception" prefix. Coroutines that die |
17 | kill the whole process, just as exceptions in the main coroutine |
36 | kill the whole process, just as exceptions in the main "coroutine" |
18 | do. |
37 | did already. |
19 | |
38 | |
20 | 2.1 Wed Nov 1 23:01:13 CET 2006 |
39 | 2.1 Wed Nov 1 23:01:13 CET 2006 |
21 | - fix a long-standing bug in Coro::Select where select with |
40 | - fix a long-standing bug in Coro::Select where select with |
22 | zero timeout would instead change the current default filehandle. |
41 | zero timeout would instead change the current default filehandle. |
23 | - use a simpler and hopefully more robust way to clone padlists |
42 | - use a simpler and hopefully more robust way to clone padlists |