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