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