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

Comparing Coro/Changes (file contents):
Revision 1.171 by root, Sun Dec 3 21:59:52 2006 UTC vs.
Revision 1.483 by root, Mon Dec 15 19:39:40 2008 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: transfer flags must be per state 3TODO: should explore PerlIO::coroaio (perl leaks like hell).
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)).
7
85.13
9 - EXPERIMENTAL: implement dynamic winds (on_enter/on_leave).
10 - don't set diehook to C<undef> but instead to NULL, to avoid
11 spurious warnings.
12 - fix a lot of bugs in Coro::SemaphoreSet.
13 - Coro::SemaphoreSet will less often create a semaphore needlessly.
14 - add Coro::SemaphoreSet::count and wait methods.
15 - take advantage of the new Guard module.
16 - deprecate Coro::guard.
17 - try to fix the dreaded 01_unblock tests once more. I hate it when
18 testsuites need more fixing than the code they are supposed to test.
19 - croak in more cases when a required callback isn't resolvable.
20 - fix some minor issues in Coro::State->call/eval.
21 - use current coroutine context instead of a temporary one
22 when temporarily switching to another coroutine.
23 - do not call C-level on_destroy handlers during global destruction.
24
255.12 Sun Dec 7 13:30:38 CET 2008
26 - add default config for MirOS, which seems to be a bug-to-bug
27 compatible fork of openbsd ("world domination by releasing
28 openbsd cvs before the openbsd folks do it" or so :).
29 - free_padlist did destroy the names pad, not good, but didn't
30 seem to bother perl - this could fix issues such as eval ""
31 inside a function called from multiple coroutines.
32 - use a different method to detect destruction time.
33 - be more careful when freeing padlists just before global
34 destruction.
35 - fixed and expanded the call/cc example.
36 - renamed _terminate to _coro_run.
37 - new method Coro::Channel->shutdown.
38 - try pthreads on openbsd <4.4 (broken sigaltstack, will
39 pthreads fare better?).
40 - be less picky about destroying "a" running coroutine.
41
425.11 Tue Nov 25 21:49:05 CET 2008
43 - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly
44 working code with failed assertions, introducing more bugs than
45 it fixes, requiring elaborate workarounds :(
46
475.1 Mon Nov 24 08:54:59 CET 2008
48 - wrote a small introductory tutorial - Coro::Intro.
49 - convert Coro::Timer, Coro::Select and Coro::Util to rouse API.
50 - Coro::Select did errornously dup the file descriptors
51 and didn't work with all AnyEvent backends.
52 - Coro::Select wasn't imported correctly form Coro::LWP, causing blocking
53 LWP data transfers.
54 - disassociate c contexts from coro objects - this is agruably more
55 correct, but mostly allows sharing of cctxs between coro and state
56 objects, for added memory savings and speed increases.
57 - bumped $Coro::POOL_RSS up to 32kb by default.
58 - no longer set the optype to OP_CUSTOM, as B::* understandably
59 doesn't like this very much (and we *are* a type of entersub).
60 - implement state cloning, just to prove that call/cc can be done.
61 - automatically load Coro::AnyEvent in Coro::Handle.
62 - wrap ->cancel calls in eval inside Coro::Handle as EV watchers
63 do not have this method (and don't need it either).
64 - speed up generic anyevent methods in Coro::Handle by using rouse
65 callbacks.
66 - allow coroutines in $Coro::IDLE, speeding up Coro::AnyEvent and
67 others. It also makes the debugger happier, as you can trace
68 through the idle threads now.
69 - add comppad_name* and hints ($^H, %^H) to per-thread variables.
70 - eg/event was pretty broken.
71 - better 5.8.6 compatibility.
72
735.0 Thu Nov 20 10:35:05 CET 2008
74 - NEW ARCHITECTURE: use the latest 4.x version if you experience
75 stability issues.
76 - bump API version to 7 - all dependents must be recompiled.
77 - removed timed_* functions - they were not being used anyways
78 and should be replaced by a more generic mechanism -
79 and were annoying to support anyways :)
80 - removed SemaphoreSet's waiter method - use sem method instead.
81 - Coro::Semaphore->adjust didn't correctly wake up enough waiters.
82 - async_pool did free a scalar value twice
83 ("Attempt to unreference...").
84 - fix a longstanding bug where calling terminate on a coro that
85 was waiting for a semaphore that was just becoming available
86 would cause a deadlock (semaphore would get into a state where
87 it was available but waiters were still blocked).
88 - calling throw on a coroutine that is waiting for a semaphore will
89 no longer make it acquire the semaphore (and thus leak a count).
90 - perl's process emulation is now not even theoretically supported
91 anymore.
92 - new functions Coro::rouse_cb and Coro::rouse_wait for easier
93 conversion of callback-style to blocking-style.
94 - new methods $coro->schedule_to and ->cede_to, to specifically
95 schedule or cede to a specific coroutine.
96 - new function Coro::Semaphore::wait.
97 - use named constants in Coro::Channel (Richard Hundt).
98 - directly patch the entersub opcode calling SLF functions (cede,
99 transfer and so on). this does speed up context switching, but
100 more importanly, it frees us from the hardcoded behaviour of
101 entersub, so we might actually be able to return something from
102 those functions and atcually create new ones.
103 - take advantage of __builtin_frame_address on gcc.
104 - expose THX in coroapi (not sure whether this was a wise decision,
105 as "threaded" perls are running at half speed anyways).
106 - implement execute_slf (schedule-like-function) interface that makes
107 it possible to implement schedule-like-functions in XS.
108 - use new SLF interface to massively speed up Coro::EV by roughly a
109 factor of two.
110 - used new SLF interface to massively speed up Coro::Semaphore by a
111 factor of three.
112 - used new SLF interface to speed up Coro::AIO by roughly a factor of
113 four and reduce its memory usage considerably.
114 - implement Coro::SemaphoreSet purely in terms of Coro::Semaphore,
115 for a nice speedup and vastly more correct behaviour. Also implement
116 a new method "sem" to get at the underlying semaphore object.
117 - implement Coro::Channel in terms of Coro::Semaphore, for a moderate
118 (in comparison) 20-40% speedup.
119 - used new SLF interface to reimplement Coro::Signal gaining
120 some unknown (because I was too lazy), but certain, speedup, and also
121 making signals reliable for the first time.
122 - used new SLF interface and other optimisations to speed up async_pool
123 by a factor of two. It also doesn't rely on perl's exception mechanism
124 to exit anymore. The overhead for terminating an async_pool, coro over
125 a normal async is now very small.
126 - sped up coroutine creation/destruction by 40%.
127 - forgot to include Coro/libcoro/README in the dist for all these years.
128 - work around a freebsd pthreads bug (manual testcancel is required as
129 pthread_cond_wait isn't a cancellation point on freebsd).
130 - use new rouse functions to speed up and simplify Coro::BDB.
131 - make "prefer perl native functions" work with threaded perls.
132 - condense Coro::Debug ps output, hint at v and w flags.
133 - (libcoro) lots of minor cleanups and portability improvements.
134
1354.914 Wed Nov 19 12:54:18 CET 2008
136 - fix a disastrous bug in the readline optimisation
137 introduced in 4.801.
138
1394.913 Sat Nov 15 07:58:28 CET 2008
140 - async_pool did free a scalar value twice
141 ("Attempt to unreference...").
142
1434.912 Thu Nov 13 18:31:23 CET 2008
144 - minor cleanups.
145 - use much larger stacks on linux and perl < 5.8.8.
146 - Coro::Debug::new_unix_server did not unlink the socket
147 when destroyed.
148
1494.911 Tue Nov 11 04:26:17 CET 2008
150 - "port" to threaded perls.
151
1524.91 Mon Nov 10 05:36:38 CET 2008
153 - the ->throw exception object no longer leaks.
154 - creating a new cctx leaked a scopestack entry (memleak).
155 - new coroutines didn't get created with a zero flags field
156 (unknown impact).
157 - calling ->throw on a not-yet-started coroutine should now work
158 instead of being ignored.
159 - ->throw is now supported on Coro::State objects.
160 - clean up cctx creation code a bit.
161 - entersub is actually a UNOP, not a LOGOP (not a bugfix).
162
1634.9 Sat Nov 8 17:45:27 CET 2008
164 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there).
165 - (libcoro) no longer leak threads in the experimental pthread backend,
166 also speed it up considerably.
167 - (libcoro) do not rely on makecontext passing void *'s unscathed.
168 - fix compiletime dependencies on libcoro in the Makefile.
169 - cctx_count wasn't always updated properly.
170 - Coro::State::cctx_stacksize wasn't applied correctly.
171 - new function Coro::State::cctx_max_idle.
172 - the default max number of idle C contexts is now 4.
173 - (libcoro) try harder to get _setjmp/_longjmp.
174 - (libcoro) cleanup and extend the libcoro API to officially
175 allow the creation of empty source contexts.
176 - very experimental workaround for the totally broken netbsd platform.
177 - tried to hack around openbsd bugs.
178
1794.804 Wed Nov 5 16:36:00 CET 2008
180 - Coro::Debug::new_unix_server would not create a non-blocking listening
181 socket, sometimes causing freezes.
182 - (libcoro) fix misaligned stack points for setjmp and assembly
183 methods, which can cause crashes on x86/x86_64 with a sufficiently
184 aggressive compiler.
185 - new function: Coro::Debug::new_tcp_server.
186 - move ->throw into the Coro class because it only works on coro objects.
187
1884.803 Mon Nov 3 17:16:12 CET 2008
189 - (libcoro) use a global asm statement to become independent of gcc
190 otpimisations for CORO_ASM (thanks to pippijn for the idea).
191 - try to workaround yet another broken bsd, this time dragonfly.
192
1934.802 Thu Oct 30 10:56:12 CET 2008
194 - support -fno-omit-frame-pointer on x86 with the assembly method.
195 - tune 01_unblock.t tests a bit.
196
1974.801 Wed Oct 22 18:33:37 CEST 2008
198 - improve readline speed for very long "lines".
199 - backport to 5.8.8.
200
2014.8 Thu Oct 2 13:34:40 CEST 2008
202 - new function Coro::AIO::aio_wait.
203 - Coro.:AIO and Coro::BDB now "use Coro::AnyEvent".
204 - greatly speed up and reduce memory usage of Coro::AIO requests.
205 - implement some other µ-optimisations.
206
2074.749 Mon Sep 29 14:40:12 CEST 2008
208 - port to slow and broken pseudo-threaded perls. (courtesy pippijn).
209
2104.748 Sat Sep 27 14:03:19 CEST 2008
211 - implement, but do not document, PerlIO::cede(granularity).
212 - Coro::Storable forgot to wrap Storable::pstore.
213 - work around the multitude of leaks and memory corruption
214 bugs in PerlIO::via by using our own C-level perliol. As a side
215 effect, Coro::Storable is now much, much, much faster.
216
2174.747 Tue Sep 23 01:59:41 CEST 2008
218 - fix a per-cv memleak (one empty array was leaked per
219 code reference).
220 - avoid a crash in coro->call|rss when the coroutine was already
221 destroyed (most noticably when using Coro::Debug::ps :)
222 - also protect *Storable::FILE.
223 - push up default storable granularity to 20ms.
224
2254.746 Sun Sep 21 03:22:20 CEST 2008
226 - be more insistent on locking Storable against reentrancy
227 in Coro::Storable.
228 - move swap_def?v and throw to Coro::State, as documented.
229
2304.745 Thu Jul 24 00:14:38 CEST 2008
231 - remove debugging code related to MgPV_nolen_const, also try to
232 make it compile with perl 5.8.6 (yes, apple apparently loves
233 outdated software). Reported by John S.
234
2354.744 Tue Jul 8 22:06:35 CEST 2008
236 - correctly provide default DIE/WARN handlers as documented.
237 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
238 implementations inside perl work fine for us.
239
2404.743 Mon Jun 16 00:21:57 CEST 2008
241 - when using Coro::EV without running EV::loop it could
242 result in busy-waiting for events, this has been fixed.
243 - reduce codesize and improve performance by using EV_DEFAULT_UC.
244
2454.742 Sat May 31 14:10:21 CEST 2008
246 - implement a workaround for (some) perl <5.8.8 versions.
247 - require EV 3.3+.
248
2494.741 Fri May 30 23:33:09 CEST 2008
250 - tell netbsd how utterly broken their imitation of an OS is
251 and refuse to build by default if pthreads are in use.
252 - switch to "s" method on all bsd's by default, as their ucontext
253 stuff seems just too broken.
254 - fix a bug in Coro::Select.
255
2564.74 Thu May 29 20:05:31 CEST 2008
257 - do not test Coro::LWP for lack of dependencies.
258 - do not test Coro::Select for lack of working perls.
259
2604.73 Thu May 29 2008
261 - fix a bug in Coro::EV which would cause it to block despite
262 there being runnable coroutines.
263 - sprinkle "no warnings" freely over everything, also suppress
264 warnings for some other modules.
265 - fix typo in WSAEWOULDBLOCK.
266
2674.72 Sun May 25 05:14:36 CEST 2008
268 - tweak META.yaml a bit, unfortunately, there is no documented way
269 to have optional dependencies with CPAN. doh :(
270 - avoid running some tests on windows because they would fail due to
271 perl bug (broken fork, broken pipes...).
272 - work around perl on windows bugs where perl returns undocumented
273 error codes for sysread, syswrite etc. by taking advantage
274 of AnyEvent's workaround for that problem.
275 - use AnyEvent::Util::fh_nonblocking in Coro::Handle to work around
276 a common perl implementation bug on windows.
277 - use unix domain sockets in testsuite to work around
278 common perl implementation bugs on widows (they are emulated by
279 tcp sockets on windows. ugh.)
280
2814.71 Sat May 24 20:01:27 CEST 2008
282 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
283 - take advantage of async name resolution of AnyEvent::Util.
284 - work around brutal inet_aton override in Coro::LWP.
285 - take advantage of the readyhook in Coro::EV, for smoother
286 scheduling.
287
2884.7 Sun May 11 00:32:19 CEST 2008
289 - completely reworked the Coro manpage.
290 - added Coro::AnyEvent, generic event loop integration.
291 - implement cancel, ready and kill commands in Coro::Debug.
292 - document find_coro in Coro::Debug.
293 - incompatible change: rename has_stack to has_cctx.
294 - Coro::AIO and Coro::BDB no longer force event model detection,
295 use AnyEvent::AIO and AnyEvent::BDB.
296
2974.6 Sat Apr 26 10:05:14 CEST 2008
298 - INCOMPATIBLE CHANGE: sub/code attributes are no longer supported
299 by the Coro module. It was a mistake to have it in the first place.
300 - (experimental) support for activestate perl 5.10 (method "w").
301 - (experimental) support for strawberry perl (method "a").
302 - coro_sigelem_set did not return a value although it had to,
303 actual impact unknown.
304
3054.51 Mon Apr 14 13:28:27 CEST 2008
306 - make it compile again on 5.8.
307
3084.50 Thu Apr 10 09:43:17 CEST 2008
309 - I did it twice! (see 4.49).
310
3114.49 Sun Apr 6 21:23:31 CEST 2008
312 - grr, instead of compiling the recent changes on 5.10 only they
313 were compiled on 5.8 only.
314
3154.48 Sun Apr 6 20:36:46 CEST 2008
316 - allow coroutine switches during eval's under 5.10.x, as it seems
317 the parser is a per-interpreter option now, so this is safe
318 (this might fix the odd crashing bug).
319 - drop support for 5.9.x versions: they are dead, jim.
320
3214.47 Sun Apr 6 00:37:52 CEST 2008
322 - force cctx allocation on API calls: we know we need to force one
323 and gcc actually manages to confuse our heuristic nowadays,
324 leading to crashes and worse.
325 - document force_cctx.
326
3274.46 Fri Apr 4 22:05:43 CEST 2008
328 - upgrade libcoro, resulting in pthread-backend (which was only created
329 to fulfill the rules of the programming languages shootout).
330
3314.45 Thu Mar 13 11:55:36 CET 2008
332 - fix a file leaking bug in eg/mhyttpd that would allow
333 downloading of any file (reported by oesi).
334 - fix deadlock bug in Coro::Channel (reported by Richard Hundt)
335 (also add testcase).
336 - support Broadcast option in Coro::Socket (patch by Richard Hundt,
337 apparently having loads of fun with that).
338 - implement $state->swap_defsv, ->swap_defav and document ->throw.
339
3404.4 Wed Feb 13 16:44:29 CET 2008
341 - only assume .cfi pseudo isns exist on GNU/Linux.
342 - add get_timed method to Coro::Channels.
343 - fixed Coro::Debug manpage.
344 - perl 5.11 compatbility improvement based on patch by
345 Andreas König.
346
3474.37 Sun Jan 20 11:25:23 CET 2008
348 - soften the check for an active parser for perl 5.10 (avoiding
349 "Coro::State::transfer called while parsing" in many cases).
350
3514.36 Sun Jan 13 10:53:56 CET 2008
352 - reset diehook when terminating from an async_pool as to not
353 trigger any __DIE__ handlers.
354
3554.35 Sun Jan 13 04:14:13 CET 2008
356 - "bt" debug command now displays any exceptions
357 from longmess and also skips the innermost
358 stackframes, giving more useufl output.
359 - allow backtraces in coroutines blocked in Coro::EV,
360 at a <1% speed hit.
361 - handle localising of $SIG{__WARN__} and __DIE__
362 properly (with a proper amount of dirty hacking).
363
3644.34 Sat Dec 22 17:49:53 CET 2007
365 - upgrade to EV version 2.0 API.
366
3674.33 Mon Dec 17 08:36:12 CET 2007
368 - make Coro::AIO etc. loadable in the absence of EV.
369
3704.32 Mon Dec 17 07:46:02 CET 2007
371 - majorly improved Coro::Handle's performance with Coro::EV.
372 - implemented the until now mythical Coro::BDB module.
373 - specialcase EV in Coro::AIO and Coro::BDB for extra speed.
374
3754.31 Wed Dec 5 12:32:39 CET 2007
376 - remove warn statement form Coro::Util.
377
3784.3 Tue Dec 4 20:33:14 CET 2007
379 - calls to the idle function could cause stack corruption
380 when the stack changed.
381 - do no longer rely on the presence of EV::DNS if EV is used
382 (because it is gone), but instead take avdantage of EV::ADNS
383 if available.
384 - add ($) prototypes to all functions in Coro::Storable.
385 - use a conventional (safer) idle callback in Coro::EV.
386 - do accept quickly in Coro::Debug to avoid endless loops.
387
3884.22 Fri Nov 30 16:04:04 CET 2007
389 - really use optimised versions for Event and EV in Coro::Util
390 and Coro::Handle.
391
3924.21 Sun Nov 25 10:48:59 CET 2007
393 - fix a spurious memory read.
394 - Coro::EV no longer keeps the eventloop "alive".
395
3964.2 Fri Nov 9 20:47:05 CET 2007
397 - enable/disable tracing from a new coroutine, not a pooled one.
398 - fix a memleak in Coro::Event.
399 - removed killall call from fork_eval.
400 - made sure store_fd is already loaded so that fork_eval
401 does not have to parse autoload in each subprocess.
402 - only use assembly method if -O switch is in $Config{optimize}.
403 - add (optional) Coro::EV module, so far the best event loop module
404 directly supported by Coro.
405 - if the event model is EV, use EV::DNS to resolve
406 stuff in Coro::Util.
407 - don't get confused by multiple event notifications in Coro::Handle.
408 - initial support for EV (libevent interface).
409 - require Event and EV using configure_requires, to force their existance.
410
4114.13 Wed Oct 24 07:26:45 CEST 2007
412 - add Coro::Storable::blocking_thaw.
413 - use a vastly more complicated technique to localise
414 $SIG{__WARN/DIE__} that also works on perls <= 5.8.8.
415 - use a coroutine for the idle callback Coro::Event,
416 instead of running Event in the current coroutine context.
417 This also catches recursive invocations.
418 - actually report fork errors in gethostbyname and inet_aton.
419
4204.11 Thu Oct 11 02:40:24 CEST 2007
421 - port to threaded perls.
422
4234.1 Thu Oct 11 02:38:16 CEST 2007
424 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
425 be local to each coro (see Coro::State).
426 - incompatible change: for very deep reasons, cede and cede_notself
427 cannot return anything, so nothing will be returned.
428 - possibly bring back 5.10 compatibility (untested).
429 - work around stupid (and wrong) warning on 5.10 :(.
430 - overlay the saved state over the context stack. This saves
431 a few hundred bytes per coroutine on average and also
432 speeds up context switching a bit.
433 - further tune default stack sizes.
434 - (more) correctly calculate stack usage in coro_rss.
435 - Coro::Storable::blocking_* did not properly lock
436 resulting in races between coroutines.
437 - added Coro::Storable::guard.
438 - stopping to trace a coroutine could destroy the cctx of
439 an unrelated coroutine.
440 - explain the relationship between Perl and C coroutines in
441 more detail in Coro::State.
442 - Coro::Util::inet_aton did not short-circuit dotted quad forms,
443 causing a fork per resolve. This also affected Coro::Socket.
444 - switch to a separate stack in $coro->call/eval to avoid
445 invalidating pointers.
446
4474.03 Sat Oct 6 21:24:00 CEST 2007
448 - added Coro::throw method.
449 - minor code cleanups.
450
4514.02 Sat Oct 6 02:36:47 CEST 2007
452 - fix a very minor per-coroutine memleak (a single codereference).
453 - fixed a bug where the currently in-use c context would be freed
454 prematurely (can happen only when programs change the stacksize
455 or use tracing).
456 - tracing can no longer keep a coro alive after it terminated.
457 - do static branch prediction in the common path for gcc. gives
458 about 2-5% speed improvement here.
459
4604.01 Fri Oct 5 22:10:49 CEST 2007
461 - instead of recreating *a* standard output handle we simply
462 use STDOUT, which is faster and hopefully more robust.
463
4644.0 Fri Oct 5 12:56:00 CEST 2007
465 - incompatibly changed Coro::Storable::freeze.
466 - major new feature: added Coro::Debug, for interactive coroutine
467 debugging, tracing and much more.
468 - major bug fix: unbelievable, but true: $_, $/ and many other
469 "saved" variables actually weren't being saved. This has been fixed,
470 of course, while increasing performance while losing all the save
471 flags.
472 - save flags are gone, and all the api functions dealing with them.
473 - added Coro::Semaphore::adjust.
474 - added Coro::Util::fork_eval.
475 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
476 - added Coro::killall.
477 - reduce initial stack sizes to allow for "micro-coroutines".
478 - better async_pool resource management, moved parts of async_pool
479 handling to XS (major speed improvement).
480 - actually croak before modifying important data structures.
481 - refuse to transfer while compiling.
482 - possibly support eval EXPR better now.
483 - enable assembly per default on linux+bsd x86+amd64.
484 - all internal members were renamed _something for easier subclassing.
485 - many minor tweaks.
486
4873.63 Wed May 16 14:10:06 CEST 2007
488 - implement handcoded assembly for x86/amd64 SVR ABI.
489
4903.62 Fri Apr 27 21:36:06 CEST 2007
491 - upgrade libcoro (which might set unwind info correctly).
492 - change default on linux to setjmp/longjmp.
493
4943.61 Thu Apr 19 12:36:18 CEST 2007
495 - Coro::Storable caused an endless loop when thawing invalid
496 pst's sometimes.
497 - use a Semaphore in Coro::Storable, as Storable doesn't
498 seem to be reentrant (although it is documented to
499 be threadsafe...).
500 - fix Coro::Signal to bring back the original unreliable
501 but stateful semantics.
502 - fixed a lot of typos in Coro.pm (patch submitted by David
503 Steinbrunner, which applied flawlessly).
504
5053.6 Sat Apr 14 17:13:31 CEST 2007
506 - added some bugfixes to get eg/myhttpd working again.
507 - added Coro::Storable for often-cede'ing freeze/thaw.
508 - try to do a clean exit when a coroutine calls exit
509 (EXPERIMENTAL).
510 - got rid of indirect call through _coro_init.
511 - updated the partly antique examples in eg/ to
512 work again and be a bit less magic, too.
513 - fixed Coro::Signal semantics to work as documented again.
514
5153.55 Sun Mar 25 01:20:47 CET 2007
516 - add SAVE_DEFFH to save the default filehandle and enable
517 it by default.
518 - finally move socket-operations from Coro::Socket to Coro::Handle
519 to be able to unblock foreign sockets.
520 - add Coro::State::save_also and guarded_save.
521 - add count accessor to Coro::Semaphore.
522 - add Coro::State::cctx_stacksize.
523 - just for the fun of it, do not rely on implicit context,
524 which can dramatically improve performance, but people
525 using windows-process-emulation perls do not care much about
526 performance.
527
5283.51 Sun Mar 4 14:18:04 CET 2007
529 - fixed a problem when you weakened references to Coro::State's
530 (patch by Yuval Kogman).
531
5323.501 Wed Feb 28 12:44:07 CET 2007
533 - rename some global symbols as macosx from hell redefines
534 them without asking.
535
5363.5 Tue Feb 13 20:22:53 CET 2007
537 - do AnyEvent model detection earlier, avoiding problems
538 caused by first using AnyEvent and later Coro::Event.
539 - implement and document Coro::Event event objects.
540 - fix a potential problem in Coro::Event causing crashes.
541 - initialise PL_comppad when creating a new coroutine,
542 avoids crashes on early coro destruction.
543
5443.41 Mon Jan 22 19:19:49 CET 2007
545 - readline on Coro::Handle did not support undefined $/,
546 nor did it deliver partial lines on EOF or error.
547 - implement malloc fallback for stack allocation because
548 stupid broken idiotic OSX has a stupid broken
549 idiotic fits-the-whole-os mmap "implementation" and
550 my dick feels longer if Coro is portable even to
551 obsolete platforms.
552
5533.4 Fri Jan 19 21:52:54 CET 2007
554 - remove t/09_timer.t, as it isn't really testing much
555 but was rather flaky in practise.
556 - async_pool coro would keep arguments and callback alive until
557 it was reused.
558 - cancellation of a coroutine could cause spurious idle calls
559 in cede_notself.
560
5613.3 Sat Jan 6 03:45:00 CET 2007
562 - implement $coro->on_destroy.
563 - Coro::Event blocking semantics have been changed,
564 documented and - hopefully - improved.
565 - fix nice adding, not subtracting, from priority.
566 - fix ->prio and api_is_ready (patch by Mark Hinds).
567 - fixed an assert ("... == prev__cctx->idle_te")
568 that could errronously trigger.
569 - fix various large and small memleaks.
570 - use a (hopefully) more stable cancel implementation
571 that immediately frees the coroutine data.
572 - cede/cede_notself return a status now.
573 - added Coro::guard function.
574 - added a global coroutine pool for jobs (on my machine,
575 I can create and execute 48k simple coros/s with async,
576 and 128k coros with async_pool).
577 - Coro::AIO now uses the coroutine priority as io priority.
578
5793.2 Fri Dec 22 05:07:09 CET 2006
580 - improve portability to slightly older perls.
581 - use cleaner coroutine destruction.
582 - simplify configuration for users.
583 - optionally (unrecommended) prefer perl functions over
584 their coro replacements.
585
5863.11 Tue Dec 5 13:11:24 CET 2006
587 - fixed some bogus assert's, but as perl.h disables assert even
588 without NDEBUG (thank you very much), not too many people should
589 notice (that did include myself). Andreas König noticed, though :)
590 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
591 it. Also noticed by Andreas König :)
592 - save/restore tainted status.
593 - verified to pass the testsuite on my 5.9.5.
594
5953.1 Mon Dec 4 23:03:40 CET 2006
596 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
597 - incompatible change: transfer flags are now per-state.
598 - give a better error message on deadlock.
599 - document Coro::nready.
600 - enhanced testsuite.
601
6023.01 Sun Dec 3 23:47:42 CET 2006
603 - forgot to include Coro::Timer.
4 604
53.0 Sun Dec 3 22:57:25 CET 2006 6053.0 Sun Dec 3 22:57:25 CET 2006
6 - the "FINALLY COMPLETELY STABLE" release (coming soon: 606 - the "FINALLY COMPLETELY STABLE" release (coming soon:
7 the "FAMOUS LAST WORDS" release). 607 the "FAMOUS LAST WORDS" release).
8 - implement a new stack sharing algorithm, which uses a stack 608 - implement a new stack sharing algorithm, which uses a stack

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines