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: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. |
3 | TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. |
|
|
4 | TODO: maybe implement a default message channel, very much like Erlang |
|
|
5 | (which is cool in a lot of important aspects (failures!), |
|
|
6 | but very lacking in others (higher level ipc)). |
6 | |
7 | |
|
|
8 | 4.35 |
|
|
9 | - "bt" debug command now displays any exceptions |
|
|
10 | from longmess and also skips the innermost |
|
|
11 | stackframes, giving more useufl output. |
|
|
12 | - allow backtraces in coroutines blocked in Coro::EV, |
|
|
13 | at a <1% speed hit. |
|
|
14 | |
|
|
15 | 4.34 Sat Dec 22 17:49:53 CET 2007 |
|
|
16 | - upgrade to EV version 2.0 API. |
|
|
17 | |
|
|
18 | 4.33 Mon Dec 17 08:36:12 CET 2007 |
|
|
19 | - make Coro::AIO etc. loadable in the absence of EV. |
|
|
20 | |
|
|
21 | 4.32 Mon Dec 17 07:46:02 CET 2007 |
|
|
22 | - majorly improved Coro::Handle's performance with Coro::EV. |
|
|
23 | - implemented the until now mythical Coro::BDB module. |
|
|
24 | - specialcase EV in Coro::AIO and Coro::BDB for extra speed. |
|
|
25 | |
|
|
26 | 4.31 Wed Dec 5 12:32:39 CET 2007 |
|
|
27 | - remove warn statement form Coro::Util. |
|
|
28 | |
|
|
29 | 4.3 Tue Dec 4 20:33:14 CET 2007 |
|
|
30 | - calls to the idle function could cause stack corruption |
|
|
31 | when the stack changed. |
|
|
32 | - do no longer rely on the presence of EV::DNS if EV is used |
|
|
33 | (because it is gone), but instead take avdantage of EV::ADNS |
|
|
34 | if available. |
|
|
35 | - add ($) prototypes to all functions in Coro::Storable. |
|
|
36 | - use a conventional (safer) idle callback in Coro::EV. |
|
|
37 | - do accept quickly in Coro::Debug to avoid endless loops. |
|
|
38 | |
|
|
39 | 4.22 Fri Nov 30 16:04:04 CET 2007 |
|
|
40 | - really use optimised versions for Event and EV in Coro::Util |
|
|
41 | and Coro::Handle. |
|
|
42 | |
|
|
43 | 4.21 Sun Nov 25 10:48:59 CET 2007 |
|
|
44 | - fix a spurious memory read. |
|
|
45 | - Coro::EV no longer keeps the eventloop "alive". |
|
|
46 | |
|
|
47 | 4.2 Fri Nov 9 20:47:05 CET 2007 |
|
|
48 | - enable/disable tracing from a new coroutine, not a pooled one. |
|
|
49 | - fix a memleak in Coro::Event. |
|
|
50 | - removed killall call from fork_eval. |
|
|
51 | - made sure store_fd is already loaded so that fork_eval |
|
|
52 | does not have to parse autoload in each subprocess. |
|
|
53 | - only use assembly method if -O switch is in $Config{optimize}. |
|
|
54 | - add (optional) Coro::EV module, so far the best event loop module |
|
|
55 | directly supported by Coro. |
|
|
56 | - if the event model is EV, use EV::DNS to resolve |
|
|
57 | stuff in Coro::Util. |
|
|
58 | - don't get confused by multiple event notifications in Coro::Handle. |
|
|
59 | - initial support for EV (libevent interface). |
|
|
60 | - require Event and EV using configure_requires, to force their existance. |
|
|
61 | |
|
|
62 | 4.13 Wed Oct 24 07:26:45 CEST 2007 |
|
|
63 | - add Coro::Storable::blocking_thaw. |
|
|
64 | - use a vastly more complicated technique to localise |
|
|
65 | $SIG{__WARN/DIE__} that also works on perls <= 5.8.8. |
|
|
66 | - use a coroutine for the idle callback Coro::Event, |
|
|
67 | instead of running Event in the current coroutine context. |
|
|
68 | This also catches recursive invocations. |
|
|
69 | - actually report fork errors in gethostbyname and inet_aton. |
|
|
70 | |
|
|
71 | 4.11 Thu Oct 11 02:40:24 CEST 2007 |
|
|
72 | - port to threaded perls. |
|
|
73 | |
|
|
74 | 4.1 Thu Oct 11 02:38:16 CEST 2007 |
|
|
75 | - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now |
|
|
76 | be local to each coro (see Coro::State). |
|
|
77 | - incompatible change: for very deep reasons, cede and cede_notself |
|
|
78 | cannot return anything, so nothing will be returned. |
|
|
79 | - possibly bring back 5.10 compatibility (untested). |
|
|
80 | - work around stupid (and wrong) warning on 5.10 :(. |
|
|
81 | - overlay the saved state over the context stack. This saves |
|
|
82 | a few hundred bytes per coroutine on average and also |
|
|
83 | speeds up context switching a bit. |
|
|
84 | - further tune default stack sizes. |
|
|
85 | - (more) correctly calculate stack usage in coro_rss. |
|
|
86 | - Coro::Storable::blocking_* did not properly lock |
|
|
87 | resulting in races between coroutines. |
|
|
88 | - added Coro::Storable::guard. |
|
|
89 | - stopping to trace a coroutine could destroy the cctx of |
|
|
90 | an unrelated coroutine. |
|
|
91 | - explain the relationship between Perl and C coroutines in |
|
|
92 | more detail in Coro::State. |
|
|
93 | - Coro::Util::inet_aton did not short-circuit dotted quad forms, |
|
|
94 | causing a fork per resolve. This also affected Coro::Socket. |
|
|
95 | - switch to a separate stack in $coro->call/eval to avoid |
|
|
96 | invalidating pointers. |
|
|
97 | |
|
|
98 | 4.03 Sat Oct 6 21:24:00 CEST 2007 |
|
|
99 | - added Coro::throw method. |
|
|
100 | - minor code cleanups. |
|
|
101 | |
|
|
102 | 4.02 Sat Oct 6 02:36:47 CEST 2007 |
|
|
103 | - fix a very minor per-coroutine memleak (a single codereference). |
|
|
104 | - fixed a bug where the currently in-use c context would be freed |
|
|
105 | prematurely (can happen only when programs change the stacksize |
|
|
106 | or use tracing). |
|
|
107 | - tracing can no longer keep a coro alive after it terminated. |
|
|
108 | - do static branch prediction in the common path for gcc. gives |
|
|
109 | about 2-5% speed improvement here. |
|
|
110 | |
|
|
111 | 4.01 Fri Oct 5 22:10:49 CEST 2007 |
|
|
112 | - instead of recreating *a* standard output handle we simply |
|
|
113 | use STDOUT, which is faster and hopefully more robust. |
|
|
114 | |
|
|
115 | 4.0 Fri Oct 5 12:56:00 CEST 2007 |
|
|
116 | - incompatibly changed Coro::Storable::freeze. |
|
|
117 | - major new feature: added Coro::Debug, for interactive coroutine |
|
|
118 | debugging, tracing and much more. |
|
|
119 | - major bug fix: unbelievable, but true: $_, $/ and many other |
|
|
120 | "saved" variables actually weren't being saved. This has been fixed, |
|
|
121 | of course, while increasing performance while losing all the save |
|
|
122 | flags. |
|
|
123 | - save flags are gone, and all the api functions dealing with them. |
|
|
124 | - added Coro::Semaphore::adjust. |
|
|
125 | - added Coro::Util::fork_eval. |
|
|
126 | - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}. |
|
|
127 | - added Coro::killall. |
|
|
128 | - reduce initial stack sizes to allow for "micro-coroutines". |
|
|
129 | - better async_pool resource management, moved parts of async_pool |
|
|
130 | handling to XS (major speed improvement). |
|
|
131 | - actually croak before modifying important data structures. |
|
|
132 | - refuse to transfer while compiling. |
|
|
133 | - possibly support eval EXPR better now. |
|
|
134 | - enable assembly per default on linux+bsd x86+amd64. |
|
|
135 | - all internal members were renamed _something for easier subclassing. |
|
|
136 | - many minor tweaks. |
|
|
137 | |
|
|
138 | 3.63 Wed May 16 14:10:06 CEST 2007 |
|
|
139 | - implement handcoded assembly for x86/amd64 SVR ABI. |
|
|
140 | |
|
|
141 | 3.62 Fri Apr 27 21:36:06 CEST 2007 |
|
|
142 | - upgrade libcoro (which might set unwind info correctly). |
|
|
143 | - change default on linux to setjmp/longjmp. |
|
|
144 | |
|
|
145 | 3.61 Thu Apr 19 12:36:18 CEST 2007 |
|
|
146 | - Coro::Storable caused an endless loop when thawing invalid |
|
|
147 | pst's sometimes. |
|
|
148 | - use a Semaphore in Coro::Storable, as Storable doesn't |
|
|
149 | seem to be reentrant (although it is documented to |
|
|
150 | be threadsafe...). |
|
|
151 | - fix Coro::Signal to bring back the original unreliable |
|
|
152 | but stateful semantics. |
|
|
153 | - fixed a lot of typos in Coro.pm (patch submitted by David |
|
|
154 | Steinbrunner, which applied flawlessly). |
|
|
155 | |
|
|
156 | 3.6 Sat Apr 14 17:13:31 CEST 2007 |
7 | - added some bugfixes to get eg/myhttpd working again. |
157 | - added some bugfixes to get eg/myhttpd working again. |
8 | - added Coro::Storable for often-cede'ing freeze/thaw. |
158 | - added Coro::Storable for often-cede'ing freeze/thaw. |
9 | - try to do a clean exit when a coroutine calls exit |
159 | - try to do a clean exit when a coroutine calls exit |
10 | (EXPERIMENTAL). |
160 | (EXPERIMENTAL). |
11 | - got rid of indirect call through _coro_init. |
161 | - got rid of indirect call through _coro_init. |