--- Coro/Changes 2008/11/20 09:37:21 1.452 +++ Coro/Changes 2008/12/07 15:33:21 1.476 @@ -5,6 +5,67 @@ actor model (which is cool in a lot of important aspects (failures!), but very lacking in others (higher level ipc)). +new -> ready +new -> canceled +ready -> running +ready -> canceled +running -> ready +running -> blocked +running -> canceled +blocked -> ready +blocked -> canceled + + - don't set diehook to C but instead to NULL, to avoid + spurious warnings. + +5.12 Sun Dec 7 13:30:38 CET 2008 + - add default config for MirOS, which seems to be a bug-to-bug + compatible fork of openbsd ("world domination by releasing + openbsd cvs before the openbsd folks do it" or so :). + - free_padlist did destroy the names pad, not good, but didn't + seem to bother perl - this could fix issues such as eval "" + inside a function called form multiple coroutines. + - use a different method to detect destruction time. + - be more careful when freeing padlists just before global + destruction. + - fixed and expanded the call/cc example. + - renamed _terminate to _coro_run. + - new method Coro::Channel->shutdown. + - try pthreads on openbsd <4.4 (broken sigaltstack, will + pthreads fare better?). + - be less picky about destroying "a" running coroutine. + +5.11 Tue Nov 25 21:49:05 CET 2008 + - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly + working code with failed assertions, introducing more bugs than + it fixes, requiring elaborate workarounds :( + +5.1 Mon Nov 24 08:54:59 CET 2008 + - wrote a small introductory tutorial - Coro::Intro. + - convert Coro::Timer, Coro::Select and Coro::Util to rouse API. + - Coro::Select did errornously dup the file descriptors + and didn't work with all AnyEvent backends. + - Coro::Select wasn't imported correctly form Coro::LWP, causing blocking + LWP data transfers. + - disassociate c contexts from coro objects - this is agruably more + correct, but mostly allows sharing of cctxs between coro and state + objects, for added memory savings and speed increases. + - bumped $Coro::POOL_RSS up to 32kb by default. + - no longer set the optype to OP_CUSTOM, as B::* understandably + doesn't like this very much (and we *are* a type of entersub). + - implement state cloning, just to prove that call/cc can be done. + - automatically load Coro::AnyEvent in Coro::Handle. + - wrap ->cancel calls in eval inside Coro::Handle as EV watchers + do not have this method (and don't need it either). + - speed up generic anyevent methods in Coro::Handle by using rouse + callbacks. + - allow coroutines in $Coro::IDLE, speeding up Coro::AnyEvent and + others. It also makes the debugger happier, as you can trace + through the idle threads now. + - add comppad_name* and hints ($^H, %^H) to per-thread variables. + - eg/event was pretty broken. + - better 5.8.6 compatibility. + 5.0 Thu Nov 20 10:35:05 CET 2008 - NEW ARCHITECTURE: use the latest 4.x version if you experience stability issues.