ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Changes
(Generate patch)

Comparing Coro/Changes (file contents):
Revision 1.153 by root, Fri Nov 24 00:31:21 2006 UTC vs.
Revision 1.251 by root, Wed Oct 3 01:48:05 2007 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: check wether stack-sharing is still effective 3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
4TODO: more effective stack sharing by having one "default stack" for "simple" coroutines? 4TODO: maybe implement a default message channel, very much like Erlang
5TODO: verify exception frame changes and force stack copies? 5 (which is cool in a lot of important aspects (failures!),
6 but very lacking in others (higher level ipc)).
6 7
84.0
9 - incompatibly changed Coro::Storable::freeze.
10 - major new feature: added Coro::Debug, for interactive coroutine
11 debugging, tracing and much more.
12 - unbelievable, but true: $_, $@ and many other "saved" variables
13 actually weren't being saved. This has been fixed, of course,
14 while increasing performance while losing all the save flags.
15 - save flags are gone, and all the api functions dealing with them.
16 - added Coro::Semaphore::adjust.
17 - added Coro::Util::fork_eval.
18 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
19 - added Coro::killall.
20 - reduce initial stack sizes to allow for "micro-coroutines".
21 - better async_pool resource management, moved parts of async_pool
22 handling to XS (major speed improvement).
23 - actually croak before modifying important data structures.
24 - refuse to transfer while compiling.
25 - possibly support eval EXPR better now.
26 - enable assembly per default on linux+bsd x86+amd64.
27 - all internal members are named _something for easier subclassing.
28 - many minor tweaks.
29
303.63 Wed May 16 14:10:06 CEST 2007
31 - implement handcoded assembly for x86/amd64 SVR ABI.
32
333.62 Fri Apr 27 21:36:06 CEST 2007
34 - upgrade libcoro (which might set unwind info correctly).
35 - change default on linux to setjmp/longjmp.
36
373.61 Thu Apr 19 12:36:18 CEST 2007
38 - Coro::Storable caused an endless loop when thawing invalid
39 pst's sometimes.
40 - use a Semaphore in Coro::Storable, as Storable doesn't
41 seem to be reentrant (although it is documented to
42 be threadsafe...).
43 - fix Coro::Signal to bring back the original unreliable
44 but stateful semantics.
45 - fixed a lot of typos in Coro.pm (patch submitted by David
46 Steinbrunner, which applied flawlessly).
47
483.6 Sat Apr 14 17:13:31 CEST 2007
49 - added some bugfixes to get eg/myhttpd working again.
50 - added Coro::Storable for often-cede'ing freeze/thaw.
51 - try to do a clean exit when a coroutine calls exit
52 (EXPERIMENTAL).
53 - got rid of indirect call through _coro_init.
54 - updated the partly antique examples in eg/ to
55 work again and be a bit less magic, too.
56 - fixed Coro::Signal semantics to work as documented again.
57
583.55 Sun Mar 25 01:20:47 CET 2007
59 - add SAVE_DEFFH to save the default filehandle and enable
60 it by default.
61 - finally move socket-operations from Coro::Socket to Coro::Handle
62 to be able to unblock foreign sockets.
63 - add Coro::State::save_also and guarded_save.
64 - add count accessor to Coro::Semaphore.
65 - add Coro::State::cctx_stacksize.
66 - just for the fun of it, do not rely on implicit context,
67 which can dramatically improve performance, but people
68 using windows-process-emulation perls do not care much about
69 performance.
70
713.51 Sun Mar 4 14:18:04 CET 2007
72 - fixed a problem when you weakened references to Coro::State's
73 (patch by Yuval Kogman).
74
753.501 Wed Feb 28 12:44:07 CET 2007
76 - rename some global symbols as macosx from hell redefines
77 them without asking.
78
793.5 Tue Feb 13 20:22:53 CET 2007
80 - do AnyEvent model detection earlier, avoiding problems
81 caused by first using AnyEvent and later Coro::Event.
82 - implement and document Coro::Event event objects.
83 - fix a potential problem in Coro::Event causing crashes.
84 - initialise PL_comppad when creating a new coroutine,
85 avoids crashes on early coro destruction.
86
873.41 Mon Jan 22 19:19:49 CET 2007
88 - readline on Coro::Handle did not support undefined $/,
89 nor did it deliver partial lines on EOF or error.
90 - implement malloc fallback for stack allocation because
91 stupid broken idiotic OSX has a stupid broken
92 idiotic fits-the-whole-os mmap "implementation" and
93 my dick feels longer if Coro is portable even to
94 obsolete platforms.
95
963.4 Fri Jan 19 21:52:54 CET 2007
97 - remove t/09_timer.t, as it isn't really testing much
98 but was rather flaky in practise.
99 - async_pool coro would keep arguments and callback alive until
100 it was reused.
101 - cancellation of a coroutine could cause spurious idle calls
102 in cede_notself.
103
1043.3 Sat Jan 6 03:45:00 CET 2007
105 - implement $coro->on_destroy.
106 - Coro::Event blocking semantics have been changed,
107 documented and - hopefully - improved.
108 - fix nice adding, not subtracting, from priority.
109 - fix ->prio and api_is_ready (patch by Mark Hinds).
110 - fixed an assert ("... == prev__cctx->idle_te")
111 that could errronously trigger.
112 - fix various large and small memleaks.
113 - use a (hopefully) more stable cancel implementation
114 that immediately frees the coroutine data.
115 - cede/cede_notself return a status now.
116 - added Coro::guard function.
117 - added a global coroutine pool for jobs (on my machine,
118 I can create and execute 48k simple coros/s with async,
119 and 128k coros with async_pool).
120 - Coro::AIO now uses the coroutine priority as io priority.
121
1223.2 Fri Dec 22 05:07:09 CET 2006
123 - improve portability to slightly older perls.
124 - use cleaner coroutine destruction.
125 - simplify configuration for users.
126 - optionally (unrecommended) prefer perl functions over
127 their coro replacements.
128
1293.11 Tue Dec 5 13:11:24 CET 2006
130 - fixed some bogus assert's, but as perl.h disables assert even
131 without NDEBUG (thank you very much), not too many people should
132 notice (that did include myself). Andreas König noticed, though :)
133 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
134 it. Also noticed by Andreas König :)
135 - save/restore tainted status.
136 - verified to pass the testsuite on my 5.9.5.
137
1383.1 Mon Dec 4 23:03:40 CET 2006
139 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
140 - incompatible change: transfer flags are now per-state.
141 - give a better error message on deadlock.
142 - document Coro::nready.
143 - enhanced testsuite.
144
1453.01 Sun Dec 3 23:47:42 CET 2006
146 - forgot to include Coro::Timer.
147
1483.0 Sun Dec 3 22:57:25 CET 2006
149 - the "FINALLY COMPLETELY STABLE" release (coming soon:
150 the "FAMOUS LAST WORDS" release).
151 - implement a new stack sharing algorithm, which uses a stack
152 pool (size currently hardcoded).
153 - make stack sharing mandatory (it no longer uses a heuristic).
154 - eval/die no longer cause weird problems under heavy use.
7 - Coro::Event could cause livelocks if it was used but 155 - Coro::Event could cause livelocks if it was used but
8 Event watchers were used directly. 156 no Coro::Event watchers were used.
157 - Coro::Event now uses asynccheck as prepare does not
158 check for changed watchers.
159 - Coro::Event allows multiple waiting coros and will wake up one
160 per event.
9 - Coro::Event should be cleaner and more efficient now. 161 - Coro::Event should be cleaner and more efficient now.
10 - minor documentation cleanup. 162 - new utility function Coro::unblock_sub.
163 - document the sad fact that Event is no longer reentrant.
164 - putting a coroutine into the ready queue twice could under
165 some circumstances lead to stack corruption.
166 - minor incompatibility: subclassing Coro::State is supported
167 directly now without going through a _coro_state member.
168 - state/coro switching is much faster now.
11 - very minor optimisations and cleanups. 169 - very minor optimisations and code/documentation cleanup.
12 - avoid problems due to compiler inlining. 170 - avoid problems due to compiler inlining.
171 - removed timers from Coro::Timer -> use AnyEvent instead.
172 - replaced Coro::idle coroutine by (cleaner) idle handler.
173 - updated to newest libcoro.
174 - implement enhanced support for valgrind.
175 - implement is_ready and return value for ready.
176 - removed Coro::Cont, it was a misnomer (it's generators),
177 and it was somewhat annoying to get it right. Will come back
178 if somebody asks for it :)
179 - many ->wait methods and Coro::Event could return
180 spuriously without the event having happened.
13 181
142.5 Tue Nov 7 12:22:33 CET 2006 1822.5 Tue Nov 7 12:22:33 CET 2006
15 - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket 183 - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket
16 use AnyEvent, moved them to Coro/. 184 use AnyEvent, moved them to Coro/.
17 - added Coro::LWP which contains all the uglyness required to 185 - added Coro::LWP which contains all the uglyness required to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines