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 | TODO: transfer flags must be per state |
|
|
4 | TODO: better (earlier) error messages on broken transfer's |
|
|
5 | |
|
|
6 | 3. |
|
|
7 | - give a better error message on deadlock. |
|
|
8 | - enhanced testsuite. |
|
|
9 | |
|
|
10 | 3.01 Sun Dec 3 23:47:42 CET 2006 |
|
|
11 | - forgot to include Coro::Timer. |
|
|
12 | |
|
|
13 | 3.0 Sun Dec 3 22:57:25 CET 2006 |
|
|
14 | - the "FINALLY COMPLETELY STABLE" release (coming soon: |
|
|
15 | the "FAMOUS LAST WORDS" release). |
|
|
16 | - implement a new stack sharing algorithm, which uses a stack |
|
|
17 | pool (size currently hardcoded). |
|
|
18 | - make stack sharing mandatory (it no longer uses a heuristic). |
|
|
19 | - eval/die no longer cause weird problems under heavy use. |
|
|
20 | - Coro::Event could cause livelocks if it was used but |
|
|
21 | no Coro::Event watchers were used. |
|
|
22 | - Coro::Event now uses asynccheck as prepare does not |
|
|
23 | check for changed watchers. |
|
|
24 | - Coro::Event allows multiple waiting coros and will wake up one |
|
|
25 | per event. |
|
|
26 | - Coro::Event should be cleaner and more efficient now. |
|
|
27 | - new utility function Coro::unblock_sub. |
|
|
28 | - document the sad fact that Event is no longer reentrant. |
|
|
29 | - putting a coroutine into the ready queue twice could under |
|
|
30 | some circumstances lead to stack corruption. |
|
|
31 | - minor incompatibility: subclassing Coro::State is supported |
|
|
32 | directly now without going through a _coro_state member. |
|
|
33 | - state/coro switching is much faster now. |
|
|
34 | - very minor optimisations and code/documentation cleanup. |
|
|
35 | - avoid problems due to compiler inlining. |
|
|
36 | - removed timers from Coro::Timer -> use AnyEvent instead. |
|
|
37 | - replaced Coro::idle coroutine by (cleaner) idle handler. |
|
|
38 | - updated to newest libcoro. |
|
|
39 | - implement enhanced support for valgrind. |
|
|
40 | - implement is_ready and return value for ready. |
|
|
41 | - removed Coro::Cont, it was a misnomer (it's generators), |
|
|
42 | and it was somewhat annoying to get it right. Will come back |
|
|
43 | if somebody asks for it :) |
|
|
44 | - many ->wait methods and Coro::Event could return |
|
|
45 | spuriously without the event having happened. |
|
|
46 | |
|
|
47 | 2.5 Tue Nov 7 12:22:33 CET 2006 |
|
|
48 | - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket |
|
|
49 | use AnyEvent, moved them to Coro/. |
|
|
50 | - added Coro::LWP which contains all the uglyness required to |
|
|
51 | make LWP non-blocking. |
|
|
52 | - should work with perl 5.9.x now (Andreas König made me do it). |
|
|
53 | - fixed another bug in Coro::Select when the timeout was undef. |
|
|
54 | - reuse PL_start_env for all coros, saves some memory per coroutine. |
|
|
55 | - manage PL_top_env differently, hopefully to avoid panic: top_env. |
|
|
56 | - timeout argument was not properly used in Coro::Socket. |
|
|
57 | - allow limited forms of subclassing in Coro::Handle/Coro::Socket. |
|
|
58 | - emulate undocumented(!) functionality of IO::Socket required |
|
|
59 | by LWP(!!). |
|
|
60 | - updated eg/lwp to work with newer lwp's. |
|
|
61 | - remove "FATAL: uncaught exception" prefix. Coroutines that die |
|
|
62 | kill the whole process, just as exceptions in the main "coroutine" |
|
|
63 | did already. |
4 | |
64 | |
5 | 2.1 Wed Nov 1 23:01:13 CET 2006 |
65 | 2.1 Wed Nov 1 23:01:13 CET 2006 |
6 | - fix a long-standing bug in Coro::Select where select with |
66 | - fix a long-standing bug in Coro::Select where select with |
7 | zero timeout would instead change the current default filehandle. |
67 | zero timeout would instead change the current default filehandle. |
8 | - use a simpler and hopefully more robust way to clone padlists |
68 | - use a simpler and hopefully more robust way to clone padlists |