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