1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
2 | |
2 | |
3 | 3.0 |
3 | TODO: better (earlier) error messages on broken transfer's |
|
|
4 | TODO: destroy gets only called on cancel: fix(?) |
|
|
5 | |
|
|
6 | - remove t/09_timer.t, as it isn't really testing much |
|
|
7 | but was rather flaky in practise. |
|
|
8 | |
|
|
9 | 3.3 Sat Jan 6 03:45:00 CET 2007 |
|
|
10 | - implement $coro->on_destroy. |
|
|
11 | - Coro::Event blocking semantics have been changed, |
|
|
12 | documented and - hopefully - improved. |
|
|
13 | - fix nice adding, not subtracting, from priority. |
|
|
14 | - fix ->prio and api_is_ready (patch by Mark Hinds). |
|
|
15 | - fixed an assert ("... == prev__cctx->idle_te") |
|
|
16 | that could errronously trigger. |
|
|
17 | - fix various large and small memleaks. |
|
|
18 | - use a (hopefully) more stable cancel implementation |
|
|
19 | that immediately frees the coroutine data. |
|
|
20 | - cede/cede_notself return a status now. |
|
|
21 | - added Coro::guard function. |
|
|
22 | - added a global coroutine pool for jobs (on my machine, |
|
|
23 | I can create and execute 48k simple coros/s with async, |
|
|
24 | and 128k coros with async_pool). |
|
|
25 | - Coro::AIO now uses the coroutine priority as io priority. |
|
|
26 | |
|
|
27 | 3.2 Fri Dec 22 05:07:09 CET 2006 |
|
|
28 | - improve portability to slightly older perls. |
|
|
29 | - use cleaner coroutine destruction. |
|
|
30 | - simplify configuration for users. |
|
|
31 | - optionally (unrecommended) prefer perl functions over |
|
|
32 | their coro replacements. |
|
|
33 | |
|
|
34 | 3.11 Tue Dec 5 13:11:24 CET 2006 |
|
|
35 | - fixed some bogus assert's, but as perl.h disables assert even |
|
|
36 | without NDEBUG (thank you very much), not too many people should |
|
|
37 | notice (that did include myself). Andreas König noticed, though :) |
|
|
38 | - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have |
|
|
39 | it. Also noticed by Andreas König :) |
|
|
40 | - save/restore tainted status. |
|
|
41 | - verified to pass the testsuite on my 5.9.5. |
|
|
42 | |
|
|
43 | 3.1 Mon Dec 4 23:03:40 CET 2006 |
|
|
44 | - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow). |
|
|
45 | - incompatible change: transfer flags are now per-state. |
|
|
46 | - give a better error message on deadlock. |
|
|
47 | - document Coro::nready. |
|
|
48 | - enhanced testsuite. |
|
|
49 | |
|
|
50 | 3.01 Sun Dec 3 23:47:42 CET 2006 |
|
|
51 | - forgot to include Coro::Timer. |
|
|
52 | |
|
|
53 | 3.0 Sun Dec 3 22:57:25 CET 2006 |
|
|
54 | - the "FINALLY COMPLETELY STABLE" release (coming soon: |
|
|
55 | the "FAMOUS LAST WORDS" release). |
4 | - reimplement a new stack sharing algorithm. |
56 | - implement a new stack sharing algorithm, which uses a stack |
|
|
57 | pool (size currently hardcoded). |
5 | - make stack sharing mandatory (it no longer uses a heuristic). |
58 | - make stack sharing mandatory (it no longer uses a heuristic). |
6 | - eval/die no longer cause weird problems under heavy use. |
59 | - eval/die no longer cause weird problems under heavy use. |
7 | - Coro::Event could cause livelocks if it was used but |
60 | - Coro::Event could cause livelocks if it was used but |
8 | no Coro::Event watchers were used. |
61 | no Coro::Event watchers were used. |
|
|
62 | - Coro::Event now uses asynccheck as prepare does not |
|
|
63 | check for changed watchers. |
|
|
64 | - Coro::Event allows multiple waiting coros and will wake up one |
|
|
65 | per event. |
9 | - Coro::Event should be cleaner and more efficient now. |
66 | - Coro::Event should be cleaner and more efficient now. |
|
|
67 | - new utility function Coro::unblock_sub. |
|
|
68 | - document the sad fact that Event is no longer reentrant. |
|
|
69 | - putting a coroutine into the ready queue twice could under |
|
|
70 | some circumstances lead to stack corruption. |
10 | - minor incompatibility: subclassing Coro::State is supported |
71 | - minor incompatibility: subclassing Coro::State is supported |
11 | directly now without going through a _coro_state member. |
72 | directly now without going through a _coro_state member. |
12 | - state/coro switching is much faster now. |
73 | - state/coro switching is much faster now. |
13 | - very minor optimisations and code/documentation cleanup. |
74 | - very minor optimisations and code/documentation cleanup. |
14 | - avoid problems due to compiler inlining. |
75 | - avoid problems due to compiler inlining. |
15 | - removed timers from Coro::Timer -> use AnyEvent instead. |
76 | - removed timers from Coro::Timer -> use AnyEvent instead. |
16 | - replaced Coro::idle coroutine by (cleaner) idle handler. |
77 | - replaced Coro::idle coroutine by (cleaner) idle handler. |
17 | - updated to newest libcoro. |
78 | - updated to newest libcoro. |
18 | - implement enhanced support for valgrind. |
79 | - implement enhanced support for valgrind. |
19 | - implement is_ready and return value for ready. |
80 | - implement is_ready and return value for ready. |
|
|
81 | - removed Coro::Cont, it was a misnomer (it's generators), |
|
|
82 | and it was somewhat annoying to get it right. Will come back |
|
|
83 | if somebody asks for it :) |
|
|
84 | - many ->wait methods and Coro::Event could return |
|
|
85 | spuriously without the event having happened. |
20 | |
86 | |
21 | 2.5 Tue Nov 7 12:22:33 CET 2006 |
87 | 2.5 Tue Nov 7 12:22:33 CET 2006 |
22 | - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket |
88 | - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket |
23 | use AnyEvent, moved them to Coro/. |
89 | use AnyEvent, moved them to Coro/. |
24 | - added Coro::LWP which contains all the uglyness required to |
90 | - added Coro::LWP which contains all the uglyness required to |