… | |
… | |
2 | |
2 | |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
4 | TODO: channel->maxsize(newsize)? |
4 | TODO: channel->maxsize(newsize)? |
5 | TODO: http://www.microsoft.com/msj/archive/s2ce.aspx |
5 | TODO: http://www.microsoft.com/msj/archive/s2ce.aspx |
6 | |
6 | |
7 | - croak when a coro being cancelled tries to block (e.g. while |
7 | TODO: tutorial |
8 | executing a guard block), instead of crashing or deadlocking. |
8 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
|
|
9 | destroyed and cleaned up automatically (e.g. async { schedule }). |
|
|
10 | - Coro::State->is_destroyed is now called is_zombie. |
9 | - implement a Coro->safe_cancel method that might fail, but |
11 | - implement a Coro->safe_cancel method that might fail, but |
10 | cancels in a "safer" way if it succeeds. |
12 | cancels in a "safer" way if it succeeds. |
|
|
13 | - get rid of two hash-accesses when initialising a new Coro - this |
|
|
14 | speeds up coro creation by almost a factor of two. |
|
|
15 | - croak when a coro that is being cancelled tries to block |
|
|
16 | (e.g. while executing a guard block), instead of crashing or |
|
|
17 | deadlocking. |
|
|
18 | - use a more robust and also faster method to identify Coro::State |
|
|
19 | objects - speeds up everything a bit. |
11 | - implement Coro->cancel in XS for a 20% speed improvement, and to |
20 | - implement Coro->cancel in XS for a 20% speed improvement, and to |
12 | be able to implement mutual cancellation. |
21 | be able to implement mutual cancellation. |
13 | - speed up context switches by a percent or two by more efficiently |
22 | - speed up context switches by a percent or two by more efficiently |
14 | allocating context stack entries. |
23 | allocating context stack entries. |
|
|
24 | - implement Coro->join and Coro->on_destroy in XS for a speedup and |
|
|
25 | a reduction in memory use. |
15 | - cancelling a coro while it itself is cancelling another coro is |
26 | - cancelling a coro while it itself is cancelling another coro is |
16 | now supported and working, instead of triggering an assertion. |
27 | now supported and working, instead of triggering an assertion. |
17 | - be a bit more crash-resistant when calling (buggy) on_destroy |
28 | - be a bit more crash-resistant when calling (buggy) on_destroy |
18 | callbacks (best effort). |
29 | callbacks (best effort). |
19 | - move on_destroy into the slf_frame, to allow extension slf |
30 | - move on_destroy into the slf_frame, to allow extension slf |
20 | functions to have destructors. |
31 | functions to have destructors. |
|
|
32 | - get rid if coro refcounting - simply crash in other interpreter |
|
|
33 | threads by nulling the pointers on clone. |
|
|
34 | - simplify warn/die hook handling when loading Coro - the convoluted |
|
|
35 | logic seems to be no longer neccessary. |
21 | |
36 | |
22 | 5.372 Wed Feb 23 06:14:30 CET 2011 |
37 | 5.372 Wed Feb 23 06:14:30 CET 2011 |
23 | - apparently mingw doesn't provide a working gettimeofday, try to |
38 | - apparently mingw doesn't provide a working gettimeofday, try to |
24 | work around that by relying on Time::HiRes (indirectly brought to |
39 | work around that by relying on Time::HiRes (indirectly brought to |
25 | my attention by Max Maischein). |
40 | my attention by Max Maischein). |