1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
2 | |
2 | |
|
|
3 | TODO: localise SIG{__DIE__} and/or __WARN__ |
3 | TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. |
4 | TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. |
4 | TODO: maybe implement a default message channel, very much like Erlang |
5 | TODO: maybe implement a default message channel, very much like Erlang |
5 | (which is cool in a lot of important aspects (failures!), |
6 | (which is cool in a lot of important aspects (failures!), |
6 | but very lacking in others (higher level ipc)). |
7 | but very lacking in others (higher level ipc)). |
7 | |
8 | |
|
|
9 | - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now |
|
|
10 | be local to each coro (see Coro::State). |
|
|
11 | - possibly bring back 5.10 compatibility (untested). |
|
|
12 | - work around stupid (and wrong) warning on 5.10 :(. |
|
|
13 | - overlay the saved state over the context stack. This saves |
|
|
14 | a few hundred bytes per coroutine on average and also |
|
|
15 | speeds up context switching a bit. |
|
|
16 | - (more) correctly calculate stack usage in coro_rss. |
|
|
17 | |
|
|
18 | 4.03 Sat Oct 6 21:24:00 CEST 2007 |
|
|
19 | - added Coro::throw method. |
|
|
20 | - minor code cleanups. |
|
|
21 | |
|
|
22 | 4.02 Sat Oct 6 02:36:47 CEST 2007 |
|
|
23 | - fix a very minor per-coroutine memleak (a single codereference). |
|
|
24 | - fixed a bug where the currently in-use c context would be freed |
|
|
25 | prematurely (can happen only when programs change the stacksize |
|
|
26 | or use tracing). |
|
|
27 | - tracing can no longer keep a coro alive after it terminated. |
|
|
28 | - do static branch prediction in the common path for gcc. gives |
|
|
29 | about 2-5% speed improvement here. |
|
|
30 | |
8 | 4.01 Fri Oct 5 22:10:49 CEST 2007 |
31 | 4.01 Fri Oct 5 22:10:49 CEST 2007 |
9 | - use a different, less descriptive but hopefully more robust way |
32 | - instead of recreating *a* standard output handle we simply |
10 | to create the stdout glob for a newly created coroutine. |
33 | use STDOUT, which is faster and hopefully more robust. |
11 | |
34 | |
12 | 4.0 Fri Oct 5 12:56:00 CEST 2007 |
35 | 4.0 Fri Oct 5 12:56:00 CEST 2007 |
13 | - incompatibly changed Coro::Storable::freeze. |
36 | - incompatibly changed Coro::Storable::freeze. |
14 | - major new feature: added Coro::Debug, for interactive coroutine |
37 | - major new feature: added Coro::Debug, for interactive coroutine |
15 | debugging, tracing and much more. |
38 | debugging, tracing and much more. |