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