… | |
… | |
2 | |
2 | |
3 | TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. |
3 | TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. |
4 | TODO: maybe implement a default message channel, very much like Erlang |
4 | TODO: maybe implement a default message channel, very much like Erlang |
5 | (which is cool in a lot of important aspects (failures!), |
5 | (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 | |
|
|
8 | 4.1 |
|
|
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 | - further tune default stack sizes. |
|
|
17 | - (more) correctly calculate stack usage in coro_rss. |
|
|
18 | - Coro::Storable::blocking_* did not properly lock |
|
|
19 | resulting in races between coroutines. |
|
|
20 | - added Coro::Storable::guard. |
|
|
21 | - stopping to trace a coroutine could destroy the cctx of |
|
|
22 | an unrelated coroutine. |
|
|
23 | |
|
|
24 | 4.03 Sat Oct 6 21:24:00 CEST 2007 |
|
|
25 | - added Coro::throw method. |
|
|
26 | - minor code cleanups. |
|
|
27 | |
|
|
28 | 4.02 Sat Oct 6 02:36:47 CEST 2007 |
|
|
29 | - fix a very minor per-coroutine memleak (a single codereference). |
|
|
30 | - fixed a bug where the currently in-use c context would be freed |
|
|
31 | prematurely (can happen only when programs change the stacksize |
|
|
32 | or use tracing). |
|
|
33 | - tracing can no longer keep a coro alive after it terminated. |
|
|
34 | - do static branch prediction in the common path for gcc. gives |
|
|
35 | about 2-5% speed improvement here. |
7 | |
36 | |
8 | 4.01 Fri Oct 5 22:10:49 CEST 2007 |
37 | 4.01 Fri Oct 5 22:10:49 CEST 2007 |
9 | - instead of recreating *a* standard output handle we simply |
38 | - instead of recreating *a* standard output handle we simply |
10 | use STDOUT, which is faster and hopefully more robust. |
39 | use STDOUT, which is faster and hopefully more robust. |
11 | |
40 | |