--- Coro/Changes 2011/02/13 04:39:14 1.547 +++ Coro/Changes 2011/05/13 19:39:26 1.565 @@ -1,11 +1,51 @@ Revision history for Perl extension Coro. TODO: should explore PerlIO::coroaio (perl leaks like hell). -TODO: unready_all -TODO: myhttpd header parsing TODO: channel->maxsize(newsize)? TODO: http://www.microsoft.com/msj/archive/s2ce.aspx +TODO: tutorial + - INCOMPATIBLE CHANGE: unreferenced coro objects will now be + destroyed and cleaned up automatically (e.g. async { schedule }). + - Coro::State->is_destroyed is now called is_zombie. + - implement a Coro->safe_cancel method that might fail, but + cancels in a "safer" way if it succeeds. + - croak when a coro that is being cancelled tries to block + (e.g. while executing a guard block), instead of crashing or + deadlocking. + - use a more robust and also faster method to identify Coro::State + objects - speeds up everything a bit. + - implement Coro->cancel in XS for a 20% speed improvement, and to + be able to implement mutual cancellation. + - speed up context switches by a percent or two by more efficiently + allocating context stack entries. + - implement Coro->join and Coro->on_destroy in XS for a speedup and + a reduction in memory use. + - cancelling a coro while it itself is cancelling another coro is + now supported and working, instead of triggering an assertion. + - be a bit more crash-resistant when calling (buggy) on_destroy + callbacks (best effort). + - move on_destroy into the slf_frame, to allow extension slf + functions to have destructors. + - get rid if coro refcounting - simply crash in other interpreter + threads by nulling the pointers on clone. + +5.372 Wed Feb 23 06:14:30 CET 2011 + - apparently mingw doesn't provide a working gettimeofday, try to + work around that by relying on Time::HiRes (indirectly brought to + my attention by Max Maischein). + - fix some portability issues when Time::HiRes was used. + +5.371 Mon Feb 21 14:36:08 CET 2011 + - backport to windows process emulation code again. + +5.37 Sat Feb 19 07:49:44 CET 2011 + - add a big "Coro thread life cycle" section to "man Coro". + - try a tentative workaround against the breakage that 5.13 has + introduced without depreciation period. sigh. + - no longer use Time::HiRes if gettimeofday is available, which + saves quite a lot of memory. + 5.36 Sun Feb 13 05:33:41 CET 2011 - automatically load Coro::Channel, Coro::RWLock, Coro::Semaphore, Coro::SemaphoreSet, Coro::Signal and Coro::Specific on first "new"