1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
2 | |
2 | |
3 | TODO: better (earlier) error messages on broken transfer's |
3 | TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. |
|
|
4 | TODO: maybe implement a default message channel, very much like Erlang |
|
|
5 | (which is cool in a lot of important aspects (failures!), |
|
|
6 | but very lacking in others (higher level ipc)). |
4 | |
7 | |
|
|
8 | 4.0 Fri Oct 5 12:56:00 CEST 2007 |
|
|
9 | - incompatibly changed Coro::Storable::freeze. |
|
|
10 | - major new feature: added Coro::Debug, for interactive coroutine |
|
|
11 | debugging, tracing and much more. |
|
|
12 | - major bug fix: unbelievable, but true: $_, $/ and many other |
|
|
13 | "saved" variables actually weren't being saved. This has been fixed, |
|
|
14 | of course, while increasing performance while losing all the save |
|
|
15 | flags. |
|
|
16 | - save flags are gone, and all the api functions dealing with them. |
|
|
17 | - added Coro::Semaphore::adjust. |
|
|
18 | - added Coro::Util::fork_eval. |
|
|
19 | - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}. |
|
|
20 | - added Coro::killall. |
|
|
21 | - reduce initial stack sizes to allow for "micro-coroutines". |
|
|
22 | - better async_pool resource management, moved parts of async_pool |
|
|
23 | handling to XS (major speed improvement). |
|
|
24 | - actually croak before modifying important data structures. |
|
|
25 | - refuse to transfer while compiling. |
|
|
26 | - possibly support eval EXPR better now. |
|
|
27 | - enable assembly per default on linux+bsd x86+amd64. |
|
|
28 | - all internal members were renamed _something for easier subclassing. |
|
|
29 | - many minor tweaks. |
|
|
30 | |
|
|
31 | 3.63 Wed May 16 14:10:06 CEST 2007 |
|
|
32 | - implement handcoded assembly for x86/amd64 SVR ABI. |
|
|
33 | |
|
|
34 | 3.62 Fri Apr 27 21:36:06 CEST 2007 |
|
|
35 | - upgrade libcoro (which might set unwind info correctly). |
|
|
36 | - change default on linux to setjmp/longjmp. |
|
|
37 | |
|
|
38 | 3.61 Thu Apr 19 12:36:18 CEST 2007 |
|
|
39 | - Coro::Storable caused an endless loop when thawing invalid |
|
|
40 | pst's sometimes. |
|
|
41 | - use a Semaphore in Coro::Storable, as Storable doesn't |
|
|
42 | seem to be reentrant (although it is documented to |
|
|
43 | be threadsafe...). |
|
|
44 | - fix Coro::Signal to bring back the original unreliable |
|
|
45 | but stateful semantics. |
|
|
46 | - fixed a lot of typos in Coro.pm (patch submitted by David |
|
|
47 | Steinbrunner, which applied flawlessly). |
|
|
48 | |
|
|
49 | 3.6 Sat Apr 14 17:13:31 CEST 2007 |
|
|
50 | - added some bugfixes to get eg/myhttpd working again. |
|
|
51 | - added Coro::Storable for often-cede'ing freeze/thaw. |
|
|
52 | - try to do a clean exit when a coroutine calls exit |
|
|
53 | (EXPERIMENTAL). |
|
|
54 | - got rid of indirect call through _coro_init. |
|
|
55 | - updated the partly antique examples in eg/ to |
|
|
56 | work again and be a bit less magic, too. |
|
|
57 | - fixed Coro::Signal semantics to work as documented again. |
|
|
58 | |
|
|
59 | 3.55 Sun Mar 25 01:20:47 CET 2007 |
|
|
60 | - add SAVE_DEFFH to save the default filehandle and enable |
|
|
61 | it by default. |
|
|
62 | - finally move socket-operations from Coro::Socket to Coro::Handle |
|
|
63 | to be able to unblock foreign sockets. |
|
|
64 | - add Coro::State::save_also and guarded_save. |
|
|
65 | - add count accessor to Coro::Semaphore. |
|
|
66 | - add Coro::State::cctx_stacksize. |
|
|
67 | - just for the fun of it, do not rely on implicit context, |
|
|
68 | which can dramatically improve performance, but people |
|
|
69 | using windows-process-emulation perls do not care much about |
|
|
70 | performance. |
|
|
71 | |
|
|
72 | 3.51 Sun Mar 4 14:18:04 CET 2007 |
|
|
73 | - fixed a problem when you weakened references to Coro::State's |
|
|
74 | (patch by Yuval Kogman). |
|
|
75 | |
|
|
76 | 3.501 Wed Feb 28 12:44:07 CET 2007 |
|
|
77 | - rename some global symbols as macosx from hell redefines |
|
|
78 | them without asking. |
|
|
79 | |
|
|
80 | 3.5 Tue Feb 13 20:22:53 CET 2007 |
|
|
81 | - do AnyEvent model detection earlier, avoiding problems |
|
|
82 | caused by first using AnyEvent and later Coro::Event. |
|
|
83 | - implement and document Coro::Event event objects. |
|
|
84 | - fix a potential problem in Coro::Event causing crashes. |
|
|
85 | - initialise PL_comppad when creating a new coroutine, |
|
|
86 | avoids crashes on early coro destruction. |
|
|
87 | |
|
|
88 | 3.41 Mon Jan 22 19:19:49 CET 2007 |
|
|
89 | - readline on Coro::Handle did not support undefined $/, |
|
|
90 | nor did it deliver partial lines on EOF or error. |
|
|
91 | - implement malloc fallback for stack allocation because |
|
|
92 | stupid broken idiotic OSX has a stupid broken |
|
|
93 | idiotic fits-the-whole-os mmap "implementation" and |
|
|
94 | my dick feels longer if Coro is portable even to |
|
|
95 | obsolete platforms. |
|
|
96 | |
|
|
97 | 3.4 Fri Jan 19 21:52:54 CET 2007 |
|
|
98 | - remove t/09_timer.t, as it isn't really testing much |
|
|
99 | but was rather flaky in practise. |
|
|
100 | - async_pool coro would keep arguments and callback alive until |
|
|
101 | it was reused. |
|
|
102 | - cancellation of a coroutine could cause spurious idle calls |
|
|
103 | in cede_notself. |
|
|
104 | |
|
|
105 | 3.3 Sat Jan 6 03:45:00 CET 2007 |
|
|
106 | - implement $coro->on_destroy. |
|
|
107 | - Coro::Event blocking semantics have been changed, |
|
|
108 | documented and - hopefully - improved. |
5 | - fix nice adding, not subtracting, from priority. |
109 | - fix nice adding, not subtracting, from priority. |
6 | - fix ->prio and api_is_ready (patch by Mark Hinds). |
110 | - fix ->prio and api_is_ready (patch by Mark Hinds). |
|
|
111 | - fixed an assert ("... == prev__cctx->idle_te") |
|
|
112 | that could errronously trigger. |
|
|
113 | - fix various large and small memleaks. |
|
|
114 | - use a (hopefully) more stable cancel implementation |
|
|
115 | that immediately frees the coroutine data. |
|
|
116 | - cede/cede_notself return a status now. |
|
|
117 | - added Coro::guard function. |
|
|
118 | - added a global coroutine pool for jobs (on my machine, |
|
|
119 | I can create and execute 48k simple coros/s with async, |
|
|
120 | and 128k coros with async_pool). |
|
|
121 | - Coro::AIO now uses the coroutine priority as io priority. |
7 | |
122 | |
8 | 3.2 Fri Dec 22 05:07:09 CET 2006 |
123 | 3.2 Fri Dec 22 05:07:09 CET 2006 |
9 | - improve portability to slightly older perls. |
124 | - improve portability to slightly older perls. |
10 | - use cleaner coroutine destruction. |
125 | - use cleaner coroutine destruction. |
11 | - simplify configuration for users. |
126 | - simplify configuration for users. |