1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
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 | |
|
|
7 | TODO: tutorial |
|
|
8 | TODO: in_eval, PL_tained |
|
|
9 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
|
|
10 | destroyed and cleaned up automatically (e.g. async { schedule }). |
|
|
11 | - Coro::State->is_destroyed is now called is_zombie. |
|
|
12 | - implement a Coro->safe_cancel method that might fail, but |
|
|
13 | cancels in a "safer" way if it succeeds. |
|
|
14 | - get rid of two hash-accesses when initialising a new Coro - this |
|
|
15 | speeds up coro creation by almost a factor of two. |
|
|
16 | - croak when a coro that is being cancelled tries to block |
|
|
17 | (e.g. while executing a guard block), instead of crashing or |
|
|
18 | deadlocking. |
|
|
19 | - use a more robust and also faster method to identify Coro::State |
|
|
20 | objects - speeds up everything a bit. |
|
|
21 | - implement Coro->cancel in XS for a 20% speed improvement, and to |
|
|
22 | be able to implement mutual cancellation. |
|
|
23 | - speed up context switches by a percent or two by more efficiently |
|
|
24 | allocating context stack entries. |
|
|
25 | - implement Coro->join and Coro->on_destroy in XS for a speedup and |
|
|
26 | a reduction in memory use. |
|
|
27 | - cancelling a coro while it itself is cancelling another coro is |
|
|
28 | now supported and working, instead of triggering an assertion. |
|
|
29 | - be a bit more crash-resistant when calling (buggy) on_destroy |
|
|
30 | callbacks (best effort). |
|
|
31 | - move on_destroy into the slf_frame, to allow extension slf |
|
|
32 | functions to have destructors. |
|
|
33 | - get rid if coro refcounting - simply crash in other interpreter |
|
|
34 | threads by nulling the pointers on clone. |
|
|
35 | - simplify warn/die hook handling when loading Coro - the convoluted |
|
|
36 | logic seems to be no longer neccessary. |
|
|
37 | - use libecb instead of our own home-grown gcc hacks. |
|
|
38 | |
|
|
39 | 5.372 Wed Feb 23 06:14:30 CET 2011 |
|
|
40 | - apparently mingw doesn't provide a working gettimeofday, try to |
|
|
41 | work around that by relying on Time::HiRes (indirectly brought to |
|
|
42 | my attention by Max Maischein). |
|
|
43 | - fix some portability issues when Time::HiRes was used. |
|
|
44 | |
|
|
45 | 5.371 Mon Feb 21 14:36:08 CET 2011 |
|
|
46 | - backport to windows process emulation code again. |
6 | |
47 | |
7 | 5.37 Sat Feb 19 07:49:44 CET 2011 |
48 | 5.37 Sat Feb 19 07:49:44 CET 2011 |
8 | - add a big "Coro thread life cycle" section to "man Coro". |
49 | - add a big "Coro thread life cycle" section to "man Coro". |
9 | - try a tentative workaround against the breakage that 5.13 has |
50 | - try a tentative workaround against the breakage that 5.13 has |
10 | introduced without depreciation period. sigh. |
51 | introduced without depreciation period. sigh. |