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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines