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

Comparing Coro/Changes (file contents):
Revision 1.210 by root, Sun Mar 4 13:18:44 2007 UTC vs.
Revision 1.508 by root, Mon Jul 6 03:42:29 2009 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::coroaio (perl leaks like hell).
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)).
7TODO: unready_all
8TODO: myhttpd header parsing
9TODO: channel->maxsize(newsize)?
10
115.151 Mon Jul 6 05:41:57 CEST 2009
12 - backport to windows process emulation code again (patch by
13 Yasuhiro MATSUMOTO).
14 - slightly update Coro::MakeMaker.
15
165.15 Tue Jun 30 10:28:06 CEST 2009
17 - deprecate Coro::Socket, document how to get ipv6 support via
18 AnyEvent::Socket instead.
19 - implement signal->wait ($cb) interface, similar to semaphores.
20 - work around SvOK not supporting getmagic, so we have to getmagic
21 to test for undef :/ (reported by Matthias Waldorf).
22 - load Coro::AnyEvent in all modules using AnyEvent.
23 - work around perl corrupting our internal data structures,
24 reported by Tokuhiro Matsuno.
25 - enable per-coroutine real and cpu time gathering
26 (Coro::State::enable_times).
27
285.14 Wed Jun 24 01:37:48 CEST 2009
29 - provide explicit functions to "cede" to the event loop in Coro::AnyEvent,
30 as this seems to have been a difficult concept (poll, sleep, idle,
31 idle_upto).
32 - add Coro::AnyEvent::readable/writable functions.
33 - clarify Coro::EV/Event/AnyEvent manpages.
34 - free per-thread global scalars in the thread calling ->cancel, to
35 avoid crashes when $_, $@ etc., are magical but some of those
36 had already been freed.
37 - "unexperimentalise" the callback interface for Coro::Semaphore.
38 - speed up ready queue management/context switching by using a linked
39 list instead of an array (~5-10%).
40 - implement "watch" command in Coro::Debug shells.
41 - for fun, implement time-slicing as an example in the manpage.
42 - if AnyEvent detects EV or Event, but we don't have Coro::EV or
43 Coro::Event, use the normal AnyEvent handling instead of dieing
44 (the same is true for Coro::Handle).
45 - properly document Coro::EV::timed_io_once.
46 - avoid unneccessary ->cancel calls in Coro::Handle.
47 - maybe make it work on mingw32 with win32 backend
48 (based on patch by Yasuhiro Matsumoto).
49
505.132 Fri May 29 09:00:39 CEST 2009
51 - do not keep a reference to the argument itself in
52 Coro::Semaphore::guard, as it could change later.
53 - support SO_RCVBUF/SO_SNDBUF nonstandard Coro::Socket options,
54 should support a prepare callback.
55
565.131 Mon Mar 16 23:20:37 CET 2009
57 - implement and document Coro->suspend, Coro->resume.
58 - fix Coro::Select implementation to not (often) close
59 the passed file descriptors (testcase provided by pippijn).
60
615.13 Mon Dec 15 21:51:42 CET 2008
62 - EXPERIMENTAL: implement dynamic winds (on_enter/on_leave).
63 - don't set diehook to C<undef> but instead to NULL, to avoid
64 spurious warnings.
65 - fix a lot of bugs in Coro::SemaphoreSet.
66 - Coro::SemaphoreSet will less often create a semaphore needlessly.
67 - add Coro::SemaphoreSet::count and wait methods.
68 - take advantage of the new Guard module.
69 - deprecate Coro::guard.
70 - try to fix the dreaded 01_unblock tests once more. I hate it when
71 testsuites need more fixing than the code they are supposed to test.
72 - croak in more cases when a required callback isn't resolvable.
73 - fix some minor issues in Coro::State->call/eval.
74 - use current coroutine context instead of a temporary one
75 when temporarily switching to another coroutine.
76 - do not call C-level on_destroy handlers during global destruction,
77 to avoid needless segfaults.
78
795.12 Sun Dec 7 13:30:38 CET 2008
80 - add default config for MirOS, which seems to be a bug-to-bug
81 compatible fork of openbsd ("world domination by releasing
82 openbsd cvs before the openbsd folks do it" or so :).
83 - free_padlist did destroy the names pad, not good, but didn't
84 seem to bother perl - this could fix issues such as eval ""
85 inside a function called from multiple coroutines.
86 - use a different method to detect destruction time.
87 - be more careful when freeing padlists just before global
88 destruction.
89 - fixed and expanded the call/cc example.
90 - renamed _terminate to _coro_run.
91 - new method Coro::Channel->shutdown.
92 - try pthreads on openbsd <4.4 (broken sigaltstack, will
93 pthreads fare better?).
94 - be less picky about destroying "a" running coroutine.
95
965.11 Tue Nov 25 21:49:05 CET 2008
97 - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly
98 working code with failed assertions, introducing more bugs than
99 it fixes, requiring elaborate workarounds :(
100
1015.1 Mon Nov 24 08:54:59 CET 2008
102 - wrote a small introductory tutorial - Coro::Intro.
103 - convert Coro::Timer, Coro::Select and Coro::Util to rouse API.
104 - Coro::Select did errornously dup the file descriptors
105 and didn't work with all AnyEvent backends.
106 - Coro::Select wasn't imported correctly form Coro::LWP, causing blocking
107 LWP data transfers.
108 - disassociate c contexts from coro objects - this is agruably more
109 correct, but mostly allows sharing of cctxs between coro and state
110 objects, for added memory savings and speed increases.
111 - bumped $Coro::POOL_RSS up to 32kb by default.
112 - no longer set the optype to OP_CUSTOM, as B::* understandably
113 doesn't like this very much (and we *are* a type of entersub).
114 - implement state cloning, just to prove that call/cc can be done.
115 - automatically load Coro::AnyEvent in Coro::Handle.
116 - wrap ->cancel calls in eval inside Coro::Handle as EV watchers
117 do not have this method (and don't need it either).
118 - speed up generic anyevent methods in Coro::Handle by using rouse
119 callbacks.
120 - allow coroutines in $Coro::IDLE, speeding up Coro::AnyEvent and
121 others. It also makes the debugger happier, as you can trace
122 through the idle threads now.
123 - add comppad_name* and hints ($^H, %^H) to per-thread variables.
124 - eg/event was pretty broken.
125 - better 5.8.6 compatibility.
126
1275.0 Thu Nov 20 10:35:05 CET 2008
128 - NEW ARCHITECTURE: use the latest 4.x version if you experience
129 stability issues.
130 - bump API version to 7 - all dependents must be recompiled.
131 - removed timed_* functions - they were not being used anyways
132 and should be replaced by a more generic mechanism -
133 and were annoying to support anyways :)
134 - removed SemaphoreSet's waiter method - use sem method instead.
135 - Coro::Semaphore->adjust didn't correctly wake up enough waiters.
136 - async_pool did free a scalar value twice
137 ("Attempt to unreference...").
138 - fix a longstanding bug where calling terminate on a coro that
139 was waiting for a semaphore that was just becoming available
140 would cause a deadlock (semaphore would get into a state where
141 it was available but waiters were still blocked).
142 - calling throw on a coroutine that is waiting for a semaphore will
143 no longer make it acquire the semaphore (and thus leak a count).
144 - perl's process emulation is now not even theoretically supported
145 anymore.
146 - new functions Coro::rouse_cb and Coro::rouse_wait for easier
147 conversion of callback-style to blocking-style.
148 - new methods $coro->schedule_to and ->cede_to, to specifically
149 schedule or cede to a specific coroutine.
150 - new function Coro::Semaphore::wait.
151 - use named constants in Coro::Channel (Richard Hundt).
152 - directly patch the entersub opcode calling SLF functions (cede,
153 transfer and so on). this does speed up context switching, but
154 more importanly, it frees us from the hardcoded behaviour of
155 entersub, so we might actually be able to return something from
156 those functions and atcually create new ones.
157 - take advantage of __builtin_frame_address on gcc.
158 - expose THX in coroapi (not sure whether this was a wise decision,
159 as "threaded" perls are running at half speed anyways).
160 - implement execute_slf (schedule-like-function) interface that makes
161 it possible to implement schedule-like-functions in XS.
162 - use new SLF interface to massively speed up Coro::EV by roughly a
163 factor of two.
164 - used new SLF interface to massively speed up Coro::Semaphore by a
165 factor of three.
166 - used new SLF interface to speed up Coro::AIO by roughly a factor of
167 four and reduce its memory usage considerably.
168 - implement Coro::SemaphoreSet purely in terms of Coro::Semaphore,
169 for a nice speedup and vastly more correct behaviour. Also implement
170 a new method "sem" to get at the underlying semaphore object.
171 - implement Coro::Channel in terms of Coro::Semaphore, for a moderate
172 (in comparison) 20-40% speedup.
173 - used new SLF interface to reimplement Coro::Signal gaining
174 some unknown (because I was too lazy), but certain, speedup, and also
175 making signals reliable for the first time.
176 - used new SLF interface and other optimisations to speed up async_pool
177 by a factor of two. It also doesn't rely on perl's exception mechanism
178 to exit anymore. The overhead for terminating an async_pool, coro over
179 a normal async is now very small.
180 - sped up coroutine creation/destruction by 40%.
181 - forgot to include Coro/libcoro/README in the dist for all these years.
182 - work around a freebsd pthreads bug (manual testcancel is required as
183 pthread_cond_wait isn't a cancellation point on freebsd).
184 - use new rouse functions to speed up and simplify Coro::BDB.
185 - make "prefer perl native functions" work with threaded perls.
186 - condense Coro::Debug ps output, hint at v and w flags.
187 - (libcoro) lots of minor cleanups and portability improvements.
188
1894.914 Wed Nov 19 12:54:18 CET 2008
190 - fix a disastrous bug in the readline optimisation
191 introduced in 4.801.
192
1934.913 Sat Nov 15 07:58:28 CET 2008
194 - async_pool did free a scalar value twice
195 ("Attempt to unreference...").
196
1974.912 Thu Nov 13 18:31:23 CET 2008
198 - minor cleanups.
199 - use much larger stacks on linux and perl < 5.8.8.
200 - Coro::Debug::new_unix_server did not unlink the socket
201 when destroyed.
202
2034.911 Tue Nov 11 04:26:17 CET 2008
204 - "port" to threaded perls.
205
2064.91 Mon Nov 10 05:36:38 CET 2008
207 - the ->throw exception object no longer leaks.
208 - creating a new cctx leaked a scopestack entry (memleak).
209 - new coroutines didn't get created with a zero flags field
210 (unknown impact).
211 - calling ->throw on a not-yet-started coroutine should now work
212 instead of being ignored.
213 - ->throw is now supported on Coro::State objects.
214 - clean up cctx creation code a bit.
215 - entersub is actually a UNOP, not a LOGOP (not a bugfix).
216
2174.9 Sat Nov 8 17:45:27 CET 2008
218 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there).
219 - (libcoro) no longer leak threads in the experimental pthread backend,
220 also speed it up considerably.
221 - (libcoro) do not rely on makecontext passing void *'s unscathed.
222 - fix compiletime dependencies on libcoro in the Makefile.
223 - cctx_count wasn't always updated properly.
224 - Coro::State::cctx_stacksize wasn't applied correctly.
225 - new function Coro::State::cctx_max_idle.
226 - the default max number of idle C contexts is now 4.
227 - (libcoro) try harder to get _setjmp/_longjmp.
228 - (libcoro) cleanup and extend the libcoro API to officially
229 allow the creation of empty source contexts.
230 - very experimental workaround for the totally broken netbsd platform.
231 - tried to hack around openbsd bugs.
232
2334.804 Wed Nov 5 16:36:00 CET 2008
234 - Coro::Debug::new_unix_server would not create a non-blocking listening
235 socket, sometimes causing freezes.
236 - (libcoro) fix misaligned stack points for setjmp and assembly
237 methods, which can cause crashes on x86/x86_64 with a sufficiently
238 aggressive compiler.
239 - new function: Coro::Debug::new_tcp_server.
240 - move ->throw into the Coro class because it only works on coro objects.
241
2424.803 Mon Nov 3 17:16:12 CET 2008
243 - (libcoro) use a global asm statement to become independent of gcc
244 otpimisations for CORO_ASM (thanks to pippijn for the idea).
245 - try to workaround yet another broken bsd, this time dragonfly.
246
2474.802 Thu Oct 30 10:56:12 CET 2008
248 - support -fno-omit-frame-pointer on x86 with the assembly method.
249 - tune 01_unblock.t tests a bit.
250
2514.801 Wed Oct 22 18:33:37 CEST 2008
252 - improve readline speed for very long "lines".
253 - backport to 5.8.8.
254
2554.8 Thu Oct 2 13:34:40 CEST 2008
256 - new function Coro::AIO::aio_wait.
257 - Coro.:AIO and Coro::BDB now "use Coro::AnyEvent".
258 - greatly speed up and reduce memory usage of Coro::AIO requests.
259 - implement some other µ-optimisations.
260
2614.749 Mon Sep 29 14:40:12 CEST 2008
262 - port to slow and broken pseudo-threaded perls. (courtesy pippijn).
263
2644.748 Sat Sep 27 14:03:19 CEST 2008
265 - implement, but do not document, PerlIO::cede(granularity).
266 - Coro::Storable forgot to wrap Storable::pstore.
267 - work around the multitude of leaks and memory corruption
268 bugs in PerlIO::via by using our own C-level perliol. As a side
269 effect, Coro::Storable is now much, much, much faster.
270
2714.747 Tue Sep 23 01:59:41 CEST 2008
272 - fix a per-cv memleak (one empty array was leaked per
273 code reference).
274 - avoid a crash in coro->call|rss when the coroutine was already
275 destroyed (most noticably when using Coro::Debug::ps :)
276 - also protect *Storable::FILE.
277 - push up default storable granularity to 20ms.
278
2794.746 Sun Sep 21 03:22:20 CEST 2008
280 - be more insistent on locking Storable against reentrancy
281 in Coro::Storable.
282 - move swap_def?v and throw to Coro::State, as documented.
283
2844.745 Thu Jul 24 00:14:38 CEST 2008
285 - remove debugging code related to MgPV_nolen_const, also try to
286 make it compile with perl 5.8.6 (yes, apple apparently loves
287 outdated software). Reported by John S.
288
2894.744 Tue Jul 8 22:06:35 CEST 2008
290 - correctly provide default DIE/WARN handlers as documented.
291 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
292 implementations inside perl work fine for us.
293
2944.743 Mon Jun 16 00:21:57 CEST 2008
295 - when using Coro::EV without running EV::loop it could
296 result in busy-waiting for events, this has been fixed.
297 - reduce codesize and improve performance by using EV_DEFAULT_UC.
298
2994.742 Sat May 31 14:10:21 CEST 2008
300 - implement a workaround for (some) perl <5.8.8 versions.
301 - require EV 3.3+.
302
3034.741 Fri May 30 23:33:09 CEST 2008
304 - tell netbsd how utterly broken their imitation of an OS is
305 and refuse to build by default if pthreads are in use.
306 - switch to "s" method on all bsd's by default, as their ucontext
307 stuff seems just too broken.
308 - fix a bug in Coro::Select.
309
3104.74 Thu May 29 20:05:31 CEST 2008
311 - do not test Coro::LWP for lack of dependencies.
312 - do not test Coro::Select for lack of working perls.
313
3144.73 Thu May 29 2008
315 - fix a bug in Coro::EV which would cause it to block despite
316 there being runnable coroutines.
317 - sprinkle "no warnings" freely over everything, also suppress
318 warnings for some other modules.
319 - fix typo in WSAEWOULDBLOCK.
320
3214.72 Sun May 25 05:14:36 CEST 2008
322 - tweak META.yaml a bit, unfortunately, there is no documented way
323 to have optional dependencies with CPAN. doh :(
324 - avoid running some tests on windows because they would fail due to
325 perl bug (broken fork, broken pipes...).
326 - work around perl on windows bugs where perl returns undocumented
327 error codes for sysread, syswrite etc. by taking advantage
328 of AnyEvent's workaround for that problem.
329 - use AnyEvent::Util::fh_nonblocking in Coro::Handle to work around
330 a common perl implementation bug on windows.
331 - use unix domain sockets in testsuite to work around
332 common perl implementation bugs on widows (they are emulated by
333 tcp sockets on windows. ugh.)
334
3354.71 Sat May 24 20:01:27 CEST 2008
336 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
337 - take advantage of async name resolution of AnyEvent::Util.
338 - work around brutal inet_aton override in Coro::LWP.
339 - take advantage of the readyhook in Coro::EV, for smoother
340 scheduling.
341
3424.7 Sun May 11 00:32:19 CEST 2008
343 - completely reworked the Coro manpage.
344 - added Coro::AnyEvent, generic event loop integration.
345 - implement cancel, ready and kill commands in Coro::Debug.
346 - document find_coro in Coro::Debug.
347 - incompatible change: rename has_stack to has_cctx.
348 - Coro::AIO and Coro::BDB no longer force event model detection,
349 use AnyEvent::AIO and AnyEvent::BDB.
350
3514.6 Sat Apr 26 10:05:14 CEST 2008
352 - INCOMPATIBLE CHANGE: sub/code attributes are no longer supported
353 by the Coro module. It was a mistake to have it in the first place.
354 - (experimental) support for activestate perl 5.10 (method "w").
355 - (experimental) support for strawberry perl (method "a").
356 - coro_sigelem_set did not return a value although it had to,
357 actual impact unknown.
358
3594.51 Mon Apr 14 13:28:27 CEST 2008
360 - make it compile again on 5.8.
361
3624.50 Thu Apr 10 09:43:17 CEST 2008
363 - I did it twice! (see 4.49).
364
3654.49 Sun Apr 6 21:23:31 CEST 2008
366 - grr, instead of compiling the recent changes on 5.10 only they
367 were compiled on 5.8 only.
368
3694.48 Sun Apr 6 20:36:46 CEST 2008
370 - allow coroutine switches during eval's under 5.10.x, as it seems
371 the parser is a per-interpreter option now, so this is safe
372 (this might fix the odd crashing bug).
373 - drop support for 5.9.x versions: they are dead, jim.
374
3754.47 Sun Apr 6 00:37:52 CEST 2008
376 - force cctx allocation on API calls: we know we need to force one
377 and gcc actually manages to confuse our heuristic nowadays,
378 leading to crashes and worse.
379 - document force_cctx.
380
3814.46 Fri Apr 4 22:05:43 CEST 2008
382 - upgrade libcoro, resulting in pthread-backend (which was only created
383 to fulfill the rules of the programming languages shootout).
384
3854.45 Thu Mar 13 11:55:36 CET 2008
386 - fix a file leaking bug in eg/mhyttpd that would allow
387 downloading of any file (reported by oesi).
388 - fix deadlock bug in Coro::Channel (reported by Richard Hundt)
389 (also add testcase).
390 - support Broadcast option in Coro::Socket (patch by Richard Hundt,
391 apparently having loads of fun with that).
392 - implement $state->swap_defsv, ->swap_defav and document ->throw.
393
3944.4 Wed Feb 13 16:44:29 CET 2008
395 - only assume .cfi pseudo isns exist on GNU/Linux.
396 - add get_timed method to Coro::Channels.
397 - fixed Coro::Debug manpage.
398 - perl 5.11 compatbility improvement based on patch by
399 Andreas König.
400
4014.37 Sun Jan 20 11:25:23 CET 2008
402 - soften the check for an active parser for perl 5.10 (avoiding
403 "Coro::State::transfer called while parsing" in many cases).
404
4054.36 Sun Jan 13 10:53:56 CET 2008
406 - reset diehook when terminating from an async_pool as to not
407 trigger any __DIE__ handlers.
408
4094.35 Sun Jan 13 04:14:13 CET 2008
410 - "bt" debug command now displays any exceptions
411 from longmess and also skips the innermost
412 stackframes, giving more useufl output.
413 - allow backtraces in coroutines blocked in Coro::EV,
414 at a <1% speed hit.
415 - handle localising of $SIG{__WARN__} and __DIE__
416 properly (with a proper amount of dirty hacking).
417
4184.34 Sat Dec 22 17:49:53 CET 2007
419 - upgrade to EV version 2.0 API.
420
4214.33 Mon Dec 17 08:36:12 CET 2007
422 - make Coro::AIO etc. loadable in the absence of EV.
423
4244.32 Mon Dec 17 07:46:02 CET 2007
425 - majorly improved Coro::Handle's performance with Coro::EV.
426 - implemented the until now mythical Coro::BDB module.
427 - specialcase EV in Coro::AIO and Coro::BDB for extra speed.
428
4294.31 Wed Dec 5 12:32:39 CET 2007
430 - remove warn statement form Coro::Util.
431
4324.3 Tue Dec 4 20:33:14 CET 2007
433 - calls to the idle function could cause stack corruption
434 when the stack changed.
435 - do no longer rely on the presence of EV::DNS if EV is used
436 (because it is gone), but instead take avdantage of EV::ADNS
437 if available.
438 - add ($) prototypes to all functions in Coro::Storable.
439 - use a conventional (safer) idle callback in Coro::EV.
440 - do accept quickly in Coro::Debug to avoid endless loops.
441
4424.22 Fri Nov 30 16:04:04 CET 2007
443 - really use optimised versions for Event and EV in Coro::Util
444 and Coro::Handle.
445
4464.21 Sun Nov 25 10:48:59 CET 2007
447 - fix a spurious memory read.
448 - Coro::EV no longer keeps the eventloop "alive".
449
4504.2 Fri Nov 9 20:47:05 CET 2007
451 - enable/disable tracing from a new coroutine, not a pooled one.
452 - fix a memleak in Coro::Event.
453 - removed killall call from fork_eval.
454 - made sure store_fd is already loaded so that fork_eval
455 does not have to parse autoload in each subprocess.
456 - only use assembly method if -O switch is in $Config{optimize}.
457 - add (optional) Coro::EV module, so far the best event loop module
458 directly supported by Coro.
459 - if the event model is EV, use EV::DNS to resolve
460 stuff in Coro::Util.
461 - don't get confused by multiple event notifications in Coro::Handle.
462 - initial support for EV (libevent interface).
463 - require Event and EV using configure_requires, to force their existance.
464
4654.13 Wed Oct 24 07:26:45 CEST 2007
466 - add Coro::Storable::blocking_thaw.
467 - use a vastly more complicated technique to localise
468 $SIG{__WARN/DIE__} that also works on perls <= 5.8.8.
469 - use a coroutine for the idle callback Coro::Event,
470 instead of running Event in the current coroutine context.
471 This also catches recursive invocations.
472 - actually report fork errors in gethostbyname and inet_aton.
473
4744.11 Thu Oct 11 02:40:24 CEST 2007
475 - port to threaded perls.
476
4774.1 Thu Oct 11 02:38:16 CEST 2007
478 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
479 be local to each coro (see Coro::State).
480 - incompatible change: for very deep reasons, cede and cede_notself
481 cannot return anything, so nothing will be returned.
482 - possibly bring back 5.10 compatibility (untested).
483 - work around stupid (and wrong) warning on 5.10 :(.
484 - overlay the saved state over the context stack. This saves
485 a few hundred bytes per coroutine on average and also
486 speeds up context switching a bit.
487 - further tune default stack sizes.
488 - (more) correctly calculate stack usage in coro_rss.
489 - Coro::Storable::blocking_* did not properly lock
490 resulting in races between coroutines.
491 - added Coro::Storable::guard.
492 - stopping to trace a coroutine could destroy the cctx of
493 an unrelated coroutine.
494 - explain the relationship between Perl and C coroutines in
495 more detail in Coro::State.
496 - Coro::Util::inet_aton did not short-circuit dotted quad forms,
497 causing a fork per resolve. This also affected Coro::Socket.
498 - switch to a separate stack in $coro->call/eval to avoid
499 invalidating pointers.
500
5014.03 Sat Oct 6 21:24:00 CEST 2007
502 - added Coro::throw method.
503 - minor code cleanups.
504
5054.02 Sat Oct 6 02:36:47 CEST 2007
506 - fix a very minor per-coroutine memleak (a single codereference).
507 - fixed a bug where the currently in-use c context would be freed
508 prematurely (can happen only when programs change the stacksize
509 or use tracing).
510 - tracing can no longer keep a coro alive after it terminated.
511 - do static branch prediction in the common path for gcc. gives
512 about 2-5% speed improvement here.
513
5144.01 Fri Oct 5 22:10:49 CEST 2007
515 - instead of recreating *a* standard output handle we simply
516 use STDOUT, which is faster and hopefully more robust.
517
5184.0 Fri Oct 5 12:56:00 CEST 2007
519 - incompatibly changed Coro::Storable::freeze.
520 - major new feature: added Coro::Debug, for interactive coroutine
521 debugging, tracing and much more.
522 - major bug fix: unbelievable, but true: $_, $/ and many other
523 "saved" variables actually weren't being saved. This has been fixed,
524 of course, while increasing performance while losing all the save
525 flags.
526 - save flags are gone, and all the api functions dealing with them.
527 - added Coro::Semaphore::adjust.
528 - added Coro::Util::fork_eval.
529 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
530 - added Coro::killall.
531 - reduce initial stack sizes to allow for "micro-coroutines".
532 - better async_pool resource management, moved parts of async_pool
533 handling to XS (major speed improvement).
534 - actually croak before modifying important data structures.
535 - refuse to transfer while compiling.
536 - possibly support eval EXPR better now.
537 - enable assembly per default on linux+bsd x86+amd64.
538 - all internal members were renamed _something for easier subclassing.
539 - many minor tweaks.
540
5413.63 Wed May 16 14:10:06 CEST 2007
542 - implement handcoded assembly for x86/amd64 SVR ABI.
543
5443.62 Fri Apr 27 21:36:06 CEST 2007
545 - upgrade libcoro (which might set unwind info correctly).
546 - change default on linux to setjmp/longjmp.
547
5483.61 Thu Apr 19 12:36:18 CEST 2007
549 - Coro::Storable caused an endless loop when thawing invalid
550 pst's sometimes.
551 - use a Semaphore in Coro::Storable, as Storable doesn't
552 seem to be reentrant (although it is documented to
553 be threadsafe...).
554 - fix Coro::Signal to bring back the original unreliable
555 but stateful semantics.
556 - fixed a lot of typos in Coro.pm (patch submitted by David
557 Steinbrunner, which applied flawlessly).
558
5593.6 Sat Apr 14 17:13:31 CEST 2007
560 - added some bugfixes to get eg/myhttpd working again.
561 - added Coro::Storable for often-cede'ing freeze/thaw.
562 - try to do a clean exit when a coroutine calls exit
563 (EXPERIMENTAL).
564 - got rid of indirect call through _coro_init.
565 - updated the partly antique examples in eg/ to
566 work again and be a bit less magic, too.
567 - fixed Coro::Signal semantics to work as documented again.
568
5693.55 Sun Mar 25 01:20:47 CET 2007
570 - add SAVE_DEFFH to save the default filehandle and enable
571 it by default.
572 - finally move socket-operations from Coro::Socket to Coro::Handle
573 to be able to unblock foreign sockets.
574 - add Coro::State::save_also and guarded_save.
575 - add count accessor to Coro::Semaphore.
576 - add Coro::State::cctx_stacksize.
577 - just for the fun of it, do not rely on implicit context,
578 which can dramatically improve performance, but people
579 using windows-process-emulation perls do not care much about
580 performance.
5 581
63.51 Sun Mar 4 14:18:04 CET 2007 5823.51 Sun Mar 4 14:18:04 CET 2007
7 - fixed a problem when you weakened references to Coro::State's 583 - fixed a problem when you weakened references to Coro::State's
8 (patch by Yuval Kogman). 584 (patch by Yuval Kogman).
9 585

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines