… | |
… | |
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 | - croak when a coro that is being cancelled tries to block |
8 | executing a guard block), instead of crashing or deadlocking. |
8 | (e.g. while executing a guard block), instead of crashing or |
|
|
9 | deadlocking. |
9 | - implement a Coro->safe_cancel method that might fail, but |
10 | - implement a Coro->safe_cancel method that might fail, but |
10 | cancels in a "safer" way if it succeeds. |
11 | cancels in a "safer" way if it succeeds. |
11 | - implement Coro->cancel in XS for a 20% speed improvement, and to |
12 | - implement Coro->cancel in XS for a 20% speed improvement, and to |
12 | be able to implement mutual cancellation. |
13 | be able to implement mutual cancellation. |
|
|
14 | - speed up context switches by a percent or two by more efficiently |
|
|
15 | allocating context stack entries. |
13 | - cancelling a coro while it itself is cancelling another coro is |
16 | - cancelling a coro while it itself is cancelling another coro is |
14 | now supported and working, instead of triggering an assertion. |
17 | now supported and working, instead of triggering an assertion. |
15 | - be a bit more crash-resistant when calling (buggy) on_destroy |
18 | - be a bit more crash-resistant when calling (buggy) on_destroy |
16 | callbacks (best effort). |
19 | callbacks (best effort). |
17 | - move on_destroy into the slf_frame, to allow extension slf |
20 | - move on_destroy into the slf_frame, to allow extension slf |