ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Changes
(Generate patch)

Comparing Coro/Changes (file contents):
Revision 1.193 by root, Fri Jan 5 16:55:01 2007 UTC vs.
Revision 1.329 by root, Sat Apr 5 22:29:53 2008 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: better (earlier) error messages on broken transfer's 3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
4TODO: destroy gets only called on cancel: fix(?) 4TODO: maybe implement a default message channel, very much like Erlang's
5 actor model (which is cool in a lot of important aspects (failures!),
6 but very lacking in others (higher level ipc)).
5 7
63.3 84.47
9 - force cctx allocation on API calls: we know we need to force one
10 and gcc actually manages to confuse our heuristic nowadays,
11 leading to crashes and worse.
12
134.46 Fri Apr 4 22:05:43 CEST 2008
14 - upgrade libcoro, resulting in pthread-backend (which was only created
15 to fulfill the rules of the programming languages shootout).
16
174.45 Thu Mar 13 11:55:36 CET 2008
18 - fix a file leaking bug in eg/mhyttpd that would allow
19 downloading of any file (reported by oesi).
20 - fix deadlock bug in Coro::Channel (reported by Richard Hundt)
21 (also add testcase).
22 - support Broadcast option in Coro::Socket (patch by Richard Hundt,
23 apparently having loads of fun with that).
24 - implement $state->swap_defsv, ->swap_defav and document ->throw.
25
264.4 Wed Feb 13 16:44:29 CET 2008
27 - only assume .cfi pseudo isns exist on GNU/Linux.
28 - add get_timed method to Coro::Channels.
29 - fixed Coro::Debug manpage.
30 - perl 5.11 compatbility improvement based on patch by
31 Andreas König.
32
334.37 Sun Jan 20 11:25:23 CET 2008
34 - soften the check for an active parser for perl 5.10 (avoiding
35 "Coro::State::transfer called while parsing" in many cases).
36
374.36 Sun Jan 13 10:53:56 CET 2008
38 - reset diehook when terminating from an async_pool as to not
39 trigger any __DIE__ handlers.
40
414.35 Sun Jan 13 04:14:13 CET 2008
42 - "bt" debug command now displays any exceptions
43 from longmess and also skips the innermost
44 stackframes, giving more useufl output.
45 - allow backtraces in coroutines blocked in Coro::EV,
46 at a <1% speed hit.
47 - handle localising of $SIG{__WARN__} and __DIE__
48 properly (with a proper amount of dirty hacking).
49
504.34 Sat Dec 22 17:49:53 CET 2007
51 - upgrade to EV version 2.0 API.
52
534.33 Mon Dec 17 08:36:12 CET 2007
54 - make Coro::AIO etc. loadable in the absence of EV.
55
564.32 Mon Dec 17 07:46:02 CET 2007
57 - majorly improved Coro::Handle's performance with Coro::EV.
58 - implemented the until now mythical Coro::BDB module.
59 - specialcase EV in Coro::AIO and Coro::BDB for extra speed.
60
614.31 Wed Dec 5 12:32:39 CET 2007
62 - remove warn statement form Coro::Util.
63
644.3 Tue Dec 4 20:33:14 CET 2007
65 - calls to the idle function could cause stack corruption
66 when the stack changed.
67 - do no longer rely on the presence of EV::DNS if EV is used
68 (because it is gone), but instead take avdantage of EV::ADNS
69 if available.
70 - add ($) prototypes to all functions in Coro::Storable.
71 - use a conventional (safer) idle callback in Coro::EV.
72 - do accept quickly in Coro::Debug to avoid endless loops.
73
744.22 Fri Nov 30 16:04:04 CET 2007
75 - really use optimised versions for Event and EV in Coro::Util
76 and Coro::Handle.
77
784.21 Sun Nov 25 10:48:59 CET 2007
79 - fix a spurious memory read.
80 - Coro::EV no longer keeps the eventloop "alive".
81
824.2 Fri Nov 9 20:47:05 CET 2007
83 - enable/disable tracing from a new coroutine, not a pooled one.
84 - fix a memleak in Coro::Event.
85 - removed killall call from fork_eval.
86 - made sure store_fd is already loaded so that fork_eval
87 does not have to parse autoload in each subprocess.
88 - only use assembly method if -O switch is in $Config{optimize}.
89 - add (optional) Coro::EV module, so far the best event loop module
90 directly supported by Coro.
91 - if the event model is EV, use EV::DNS to resolve
92 stuff in Coro::Util.
93 - don't get confused by multiple event notifications in Coro::Handle.
94 - initial support for EV (libevent interface).
95 - require Event and EV using configure_requires, to force their existance.
96
974.13 Wed Oct 24 07:26:45 CEST 2007
98 - add Coro::Storable::blocking_thaw.
99 - use a vastly more complicated technique to localise
100 $SIG{__WARN/DIE__} that also works on perls <= 5.8.8.
101 - use a coroutine for the idle callback Coro::Event,
102 instead of running Event in the current coroutine context.
103 This also catches recursive invocations.
104 - actually report fork errors in gethostbyname and inet_aton.
105
1064.11 Thu Oct 11 02:40:24 CEST 2007
107 - port to threaded perls.
108
1094.1 Thu Oct 11 02:38:16 CEST 2007
110 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
111 be local to each coro (see Coro::State).
112 - incompatible change: for very deep reasons, cede and cede_notself
113 cannot return anything, so nothing will be returned.
114 - possibly bring back 5.10 compatibility (untested).
115 - work around stupid (and wrong) warning on 5.10 :(.
116 - overlay the saved state over the context stack. This saves
117 a few hundred bytes per coroutine on average and also
118 speeds up context switching a bit.
119 - further tune default stack sizes.
120 - (more) correctly calculate stack usage in coro_rss.
121 - Coro::Storable::blocking_* did not properly lock
122 resulting in races between coroutines.
123 - added Coro::Storable::guard.
124 - stopping to trace a coroutine could destroy the cctx of
125 an unrelated coroutine.
126 - explain the relationship between Perl and C coroutines in
127 more detail in Coro::State.
128 - Coro::Util::inet_aton did not short-circuit dotted quad forms,
129 causing a fork per resolve. This also affected Coro::Socket.
130 - switch to a separate stack in $coro->call/eval to avoid
131 invalidating pointers.
132
1334.03 Sat Oct 6 21:24:00 CEST 2007
134 - added Coro::throw method.
135 - minor code cleanups.
136
1374.02 Sat Oct 6 02:36:47 CEST 2007
138 - fix a very minor per-coroutine memleak (a single codereference).
139 - fixed a bug where the currently in-use c context would be freed
140 prematurely (can happen only when programs change the stacksize
141 or use tracing).
142 - tracing can no longer keep a coro alive after it terminated.
143 - do static branch prediction in the common path for gcc. gives
144 about 2-5% speed improvement here.
145
1464.01 Fri Oct 5 22:10:49 CEST 2007
147 - instead of recreating *a* standard output handle we simply
148 use STDOUT, which is faster and hopefully more robust.
149
1504.0 Fri Oct 5 12:56:00 CEST 2007
151 - incompatibly changed Coro::Storable::freeze.
152 - major new feature: added Coro::Debug, for interactive coroutine
153 debugging, tracing and much more.
154 - major bug fix: unbelievable, but true: $_, $/ and many other
155 "saved" variables actually weren't being saved. This has been fixed,
156 of course, while increasing performance while losing all the save
157 flags.
158 - save flags are gone, and all the api functions dealing with them.
159 - added Coro::Semaphore::adjust.
160 - added Coro::Util::fork_eval.
161 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
162 - added Coro::killall.
163 - reduce initial stack sizes to allow for "micro-coroutines".
164 - better async_pool resource management, moved parts of async_pool
165 handling to XS (major speed improvement).
166 - actually croak before modifying important data structures.
167 - refuse to transfer while compiling.
168 - possibly support eval EXPR better now.
169 - enable assembly per default on linux+bsd x86+amd64.
170 - all internal members were renamed _something for easier subclassing.
171 - many minor tweaks.
172
1733.63 Wed May 16 14:10:06 CEST 2007
174 - implement handcoded assembly for x86/amd64 SVR ABI.
175
1763.62 Fri Apr 27 21:36:06 CEST 2007
177 - upgrade libcoro (which might set unwind info correctly).
178 - change default on linux to setjmp/longjmp.
179
1803.61 Thu Apr 19 12:36:18 CEST 2007
181 - Coro::Storable caused an endless loop when thawing invalid
182 pst's sometimes.
183 - use a Semaphore in Coro::Storable, as Storable doesn't
184 seem to be reentrant (although it is documented to
185 be threadsafe...).
186 - fix Coro::Signal to bring back the original unreliable
187 but stateful semantics.
188 - fixed a lot of typos in Coro.pm (patch submitted by David
189 Steinbrunner, which applied flawlessly).
190
1913.6 Sat Apr 14 17:13:31 CEST 2007
192 - added some bugfixes to get eg/myhttpd working again.
193 - added Coro::Storable for often-cede'ing freeze/thaw.
194 - try to do a clean exit when a coroutine calls exit
195 (EXPERIMENTAL).
196 - got rid of indirect call through _coro_init.
197 - updated the partly antique examples in eg/ to
198 work again and be a bit less magic, too.
199 - fixed Coro::Signal semantics to work as documented again.
200
2013.55 Sun Mar 25 01:20:47 CET 2007
202 - add SAVE_DEFFH to save the default filehandle and enable
203 it by default.
204 - finally move socket-operations from Coro::Socket to Coro::Handle
205 to be able to unblock foreign sockets.
206 - add Coro::State::save_also and guarded_save.
207 - add count accessor to Coro::Semaphore.
208 - add Coro::State::cctx_stacksize.
209 - just for the fun of it, do not rely on implicit context,
210 which can dramatically improve performance, but people
211 using windows-process-emulation perls do not care much about
212 performance.
213
2143.51 Sun Mar 4 14:18:04 CET 2007
215 - fixed a problem when you weakened references to Coro::State's
216 (patch by Yuval Kogman).
217
2183.501 Wed Feb 28 12:44:07 CET 2007
219 - rename some global symbols as macosx from hell redefines
220 them without asking.
221
2223.5 Tue Feb 13 20:22:53 CET 2007
223 - do AnyEvent model detection earlier, avoiding problems
224 caused by first using AnyEvent and later Coro::Event.
225 - implement and document Coro::Event event objects.
226 - fix a potential problem in Coro::Event causing crashes.
227 - initialise PL_comppad when creating a new coroutine,
228 avoids crashes on early coro destruction.
229
2303.41 Mon Jan 22 19:19:49 CET 2007
231 - readline on Coro::Handle did not support undefined $/,
232 nor did it deliver partial lines on EOF or error.
233 - implement malloc fallback for stack allocation because
234 stupid broken idiotic OSX has a stupid broken
235 idiotic fits-the-whole-os mmap "implementation" and
236 my dick feels longer if Coro is portable even to
237 obsolete platforms.
238
2393.4 Fri Jan 19 21:52:54 CET 2007
240 - remove t/09_timer.t, as it isn't really testing much
241 but was rather flaky in practise.
242 - async_pool coro would keep arguments and callback alive until
243 it was reused.
244 - cancellation of a coroutine could cause spurious idle calls
245 in cede_notself.
246
2473.3 Sat Jan 6 03:45:00 CET 2007
7 - implement $coro->on_destroy. 248 - implement $coro->on_destroy.
8 - Coro::Event blocking semantics have been changed, 249 - Coro::Event blocking semantics have been changed,
9 documented and - hopefully - improved. 250 documented and - hopefully - improved.
10 - fix nice adding, not subtracting, from priority. 251 - fix nice adding, not subtracting, from priority.
11 - fix ->prio and api_is_ready (patch by Mark Hinds). 252 - fix ->prio and api_is_ready (patch by Mark Hinds).
12 - fixed an assert ("... == prev__cctx->idle_te") 253 - fixed an assert ("... == prev__cctx->idle_te")
13 that could errronously trigger. 254 that could errronously trigger.
14 - fix various large and small memleaks. 255 - fix various large and small memleaks.
15 - use a (hopefully) more stable cancel implementation 256 - use a (hopefully) more stable cancel implementation
16 that immediately frees the coroutine data. 257 that immediately frees the coroutine data.
258 - cede/cede_notself return a status now.
17 - added Coro::guard function. 259 - added Coro::guard function.
18 - added a global coroutine pool for jobs (on my machine, 260 - added a global coroutine pool for jobs (on my machine,
19 I can create and execute 48k simple coros/s with async, 261 I can create and execute 48k simple coros/s with async,
20 and 128k coros with async_pool). 262 and 128k coros with async_pool).
263 - Coro::AIO now uses the coroutine priority as io priority.
21 264
223.2 Fri Dec 22 05:07:09 CET 2006 2653.2 Fri Dec 22 05:07:09 CET 2006
23 - improve portability to slightly older perls. 266 - improve portability to slightly older perls.
24 - use cleaner coroutine destruction. 267 - use cleaner coroutine destruction.
25 - simplify configuration for users. 268 - simplify configuration for users.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines