… | |
… | |
6 | |
6 | |
7 | TODO: tutorial |
7 | TODO: tutorial |
8 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
8 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
9 | destroyed and cleaned up automatically (e.g. async { schedule }). |
9 | destroyed and cleaned up automatically (e.g. async { schedule }). |
10 | - Coro::State->is_destroyed is now called is_zombie. |
10 | - Coro::State->is_destroyed is now called is_zombie. |
|
|
11 | - implement a Coro->safe_cancel method that might fail, but |
|
|
12 | cancels in a "safer" way if it succeeds. |
11 | - croak when a coro that is being cancelled tries to block |
13 | - croak when a coro that is being cancelled tries to block |
12 | (e.g. while executing a guard block), instead of crashing or |
14 | (e.g. while executing a guard block), instead of crashing or |
13 | deadlocking. |
15 | deadlocking. |
14 | - use a more robust and also faster method to identify Coro::State |
16 | - use a more robust and also faster method to identify Coro::State |
15 | objects - speeds up everything a bit. |
17 | objects - speeds up everything a bit. |
16 | - implement a Coro->safe_cancel method that might fail, but |
|
|
17 | cancels in a "safer" way if it succeeds. |
|
|
18 | - implement Coro->cancel in XS for a 20% speed improvement, and to |
18 | - implement Coro->cancel in XS for a 20% speed improvement, and to |
19 | be able to implement mutual cancellation. |
19 | be able to implement mutual cancellation. |
20 | - speed up context switches by a percent or two by more efficiently |
20 | - speed up context switches by a percent or two by more efficiently |
21 | allocating context stack entries. |
21 | allocating context stack entries. |
22 | - implement Coro->join and Coro->on_destroy in XS for a speedup and |
22 | - implement Coro->join and Coro->on_destroy in XS for a speedup and |