--- Coro/Changes 2008/12/04 05:12:30 1.472 +++ Coro/Changes 2009/06/23 00:56:14 1.498 @@ -4,20 +4,76 @@ TODO: maybe implement a default message channel, very much like Erlang's actor model (which is cool in a lot of important aspects (failures!), but very lacking in others (higher level ipc)). +TODO: unready_all +TODO: myhttpd header parsing +TODO: channel->maxsize(newsize)? -TODO: CF_RUNNING makes sense only for Coros, not States -TODO: Coro::AnyEvent should only force detect in the idle hook. + - provide explicit functions to "cede" to the event loop in Coro::AnyEvent, + as this seems to have been a difficult concept (poll, sleep, idle, + idle_upto). + - add Coro::AnyEvent::readable/writable functions. + - clarify Coro::EV/Event/AnyEvent manpages. + - free per-thread global scalars in the thread calling ->cancel, to + avoid crashes when $_, $@ etc., are magical but some of those + had already been freed. + - "unexperimentalize" the callback interface for Coro::Semaphore. + - speed up ready queue management/context switching by using a linked + list instead of an array (~5-10%). + - implement "watch" command in Coro::Debug shells. + - for fun, implement time-slicing as an example in the manpage. + - if AnyEvent detects EV or Event, but we don't have Coro::EV or + Coro::Event, use the normal AnyEvent handling instead of dieing + (the same is true for Coro::Handle). + - properly document Coro::EV::timed_io_once. + - avoid unneccessary ->cancel calls in Coro::Handle. + - maybe make it work on mingw32 with win32 backend + (based on patch by Yasuhiro Matsumoto). + +5.132 Fri May 29 09:00:39 CEST 2009 + - do not keep a reference to the argument itself in + Coro::Semaphore::guard, as it could change later. + - support SO_RCVBUF/SO_SNDBUF nonstandard Coro::Socket options, + should support a prepare callback. + +5.131 Mon Mar 16 23:20:37 CET 2009 + - implement and document Coro->suspend, Coro->resume. + - fix Coro::Select implementation to not (often) close + the passed file descriptors (testcase provided by pippijn). + +5.13 Mon Dec 15 21:51:42 CET 2008 + - EXPERIMENTAL: implement dynamic winds (on_enter/on_leave). + - don't set diehook to C but instead to NULL, to avoid + spurious warnings. + - fix a lot of bugs in Coro::SemaphoreSet. + - Coro::SemaphoreSet will less often create a semaphore needlessly. + - add Coro::SemaphoreSet::count and wait methods. + - take advantage of the new Guard module. + - deprecate Coro::guard. + - try to fix the dreaded 01_unblock tests once more. I hate it when + testsuites need more fixing than the code they are supposed to test. + - croak in more cases when a required callback isn't resolvable. + - fix some minor issues in Coro::State->call/eval. + - use current coroutine context instead of a temporary one + when temporarily switching to another coroutine. + - do not call C-level on_destroy handlers during global destruction, + to avoid needless segfaults. + +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. + inside a function called from 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