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