… | |
… | |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
4 | TODO: maybe implement a default message channel, very much like Erlang's |
4 | TODO: maybe implement a default message channel, very much like Erlang's |
5 | actor model (which is cool in a lot of important aspects (failures!), |
5 | actor model (which is cool in a lot of important aspects (failures!), |
6 | but very lacking in others (higher level ipc)). |
6 | but very lacking in others (higher level ipc)). |
7 | |
7 | |
8 | new -> ready |
8 | TODO: suspend/resume, unready_all etc. |
9 | new -> canceled |
9 | - implement and document Coro->suspend, Coro->resume. |
10 | ready -> running |
|
|
11 | ready -> canceled |
|
|
12 | running -> ready |
|
|
13 | running -> blocked |
|
|
14 | running -> canceled |
|
|
15 | blocked -> ready |
|
|
16 | blocked -> canceled |
|
|
17 | |
10 | |
|
|
11 | 5.13 Mon Dec 15 21:51:42 CET 2008 |
|
|
12 | - EXPERIMENTAL: implement dynamic winds (on_enter/on_leave). |
18 | - don't set diehook to C<undef> but instead to NULL, to avoid |
13 | - don't set diehook to C<undef> but instead to NULL, to avoid |
19 | spurious warnings. |
14 | spurious warnings. |
|
|
15 | - fix a lot of bugs in Coro::SemaphoreSet. |
|
|
16 | - Coro::SemaphoreSet will less often create a semaphore needlessly. |
|
|
17 | - add Coro::SemaphoreSet::count and wait methods. |
|
|
18 | - take advantage of the new Guard module. |
|
|
19 | - deprecate Coro::guard. |
|
|
20 | - try to fix the dreaded 01_unblock tests once more. I hate it when |
|
|
21 | testsuites need more fixing than the code they are supposed to test. |
|
|
22 | - croak in more cases when a required callback isn't resolvable. |
|
|
23 | - fix some minor issues in Coro::State->call/eval. |
|
|
24 | - use current coroutine context instead of a temporary one |
|
|
25 | when temporarily switching to another coroutine. |
|
|
26 | - do not call C-level on_destroy handlers during global destruction, |
|
|
27 | to avoid needless segfaults. |
20 | |
28 | |
21 | 5.12 Sun Dec 7 13:30:38 CET 2008 |
29 | 5.12 Sun Dec 7 13:30:38 CET 2008 |
22 | - add default config for MirOS, which seems to be a bug-to-bug |
30 | - add default config for MirOS, which seems to be a bug-to-bug |
23 | compatible fork of openbsd ("world domination by releasing |
31 | compatible fork of openbsd ("world domination by releasing |
24 | openbsd cvs before the openbsd folks do it" or so :). |
32 | openbsd cvs before the openbsd folks do it" or so :). |
25 | - free_padlist did destroy the names pad, not good, but didn't |
33 | - free_padlist did destroy the names pad, not good, but didn't |
26 | seem to bother perl - this could fix issues such as eval "" |
34 | seem to bother perl - this could fix issues such as eval "" |
27 | inside a function called form multiple coroutines. |
35 | inside a function called from multiple coroutines. |
28 | - use a different method to detect destruction time. |
36 | - use a different method to detect destruction time. |
29 | - be more careful when freeing padlists just before global |
37 | - be more careful when freeing padlists just before global |
30 | destruction. |
38 | destruction. |
31 | - fixed and expanded the call/cc example. |
39 | - fixed and expanded the call/cc example. |
32 | - renamed _terminate to _coro_run. |
40 | - renamed _terminate to _coro_run. |