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

Comparing Coro/Changes (file contents):
Revision 1.355 by root, Tue May 27 06:41:42 2008 UTC vs.
Revision 1.469 by root, Fri Nov 28 23:30:55 2008 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. 3TODO: should explore PerlIO::coroaio (perl leaks like hell).
4TODO: maybe implement a default message channel, very much like Erlang's 4TODO: maybe implement a default message channel, very much like Erlang's
5 actor model (which is cool in a lot of important aspects (failures!), 5 actor model (which is cool in a lot of important aspects (failures!),
6 but very lacking in others (higher level ipc)). 6 but very lacking in others (higher level ipc)).
7 7
8TODO: CF_RUNNING makes sense only for Coros, not States
9 - add default config for MirOS, which seems to be a bug-to-bug
10 compatible fork of openbsd ("world domination by releasing
11 openbsd cvs before the openbsd folks do it" or so :).
12 - free_padlist did destroy the names pad, not good, but didn't
13 seem to bother perl.
14 - use a different method to detect destruction time.
15 - be more careful when freeing padlists just before global
16 destruction.
17 - fixed and expanded the call/cc example.
18
195.11 Tue Nov 25 21:49:05 CET 2008
20 - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly
21 working code with failed assertions, introducing more bugs than
22 it fixes, requiring elaborate workarounds :(
23
245.1 Mon Nov 24 08:54:59 CET 2008
25 - wrote a small introductory tutorial - Coro::Intro.
26 - convert Coro::Timer, Coro::Select and Coro::Util to rouse API.
27 - Coro::Select did errornously dup the file descriptors
28 and didn't work with all AnyEvent backends.
29 - Coro::Select wasn't imported correctly form Coro::LWP, causing blocking
30 LWP data transfers.
31 - disassociate c contexts from coro objects - this is agruably more
32 correct, but mostly allows sharing of cctxs between coro and state
33 objects, for added memory savings and speed increases.
34 - bumped $Coro::POOL_RSS up to 32kb by default.
35 - no longer set the optype to OP_CUSTOM, as B::* understandably
36 doesn't like this very much (and we *are* a type of entersub).
37 - implement state cloning, just to prove that call/cc can be done.
38 - automatically load Coro::AnyEvent in Coro::Handle.
39 - wrap ->cancel calls in eval inside Coro::Handle as EV watchers
40 do not have this method (and don't need it either).
41 - speed up generic anyevent methods in Coro::Handle by using rouse
42 callbacks.
43 - allow coroutines in $Coro::IDLE, speeding up Coro::AnyEvent and
44 others. It also makes the debugger happier, as you can trace
45 through the idle threads now.
46 - add comppad_name* and hints ($^H, %^H) to per-thread variables.
47 - eg/event was pretty broken.
48 - better 5.8.6 compatibility.
49
505.0 Thu Nov 20 10:35:05 CET 2008
51 - NEW ARCHITECTURE: use the latest 4.x version if you experience
52 stability issues.
53 - bump API version to 7 - all dependents must be recompiled.
54 - removed timed_* functions - they were not being used anyways
55 and should be replaced by a more generic mechanism -
56 and were annoying to support anyways :)
57 - removed SemaphoreSet's waiter method - use sem method instead.
58 - Coro::Semaphore->adjust didn't correctly wake up enough waiters.
59 - async_pool did free a scalar value twice
60 ("Attempt to unreference...").
61 - fix a longstanding bug where calling terminate on a coro that
62 was waiting for a semaphore that was just becoming available
63 would cause a deadlock (semaphore would get into a state where
64 it was available but waiters were still blocked).
65 - calling throw on a coroutine that is waiting for a semaphore will
66 no longer make it acquire the semaphore (and thus leak a count).
67 - perl's process emulation is now not even theoretically supported
68 anymore.
69 - new functions Coro::rouse_cb and Coro::rouse_wait for easier
70 conversion of callback-style to blocking-style.
71 - new methods $coro->schedule_to and ->cede_to, to specifically
72 schedule or cede to a specific coroutine.
73 - new function Coro::Semaphore::wait.
74 - use named constants in Coro::Channel (Richard Hundt).
75 - directly patch the entersub opcode calling SLF functions (cede,
76 transfer and so on). this does speed up context switching, but
77 more importanly, it frees us from the hardcoded behaviour of
78 entersub, so we might actually be able to return something from
79 those functions and atcually create new ones.
80 - take advantage of __builtin_frame_address on gcc.
81 - expose THX in coroapi (not sure whether this was a wise decision,
82 as "threaded" perls are running at half speed anyways).
83 - implement execute_slf (schedule-like-function) interface that makes
84 it possible to implement schedule-like-functions in XS.
85 - use new SLF interface to massively speed up Coro::EV by roughly a
86 factor of two.
87 - used new SLF interface to massively speed up Coro::Semaphore by a
88 factor of three.
89 - used new SLF interface to speed up Coro::AIO by roughly a factor of
90 four and reduce its memory usage considerably.
91 - implement Coro::SemaphoreSet purely in terms of Coro::Semaphore,
92 for a nice speedup and vastly more correct behaviour. Also implement
93 a new method "sem" to get at the underlying semaphore object.
94 - implement Coro::Channel in terms of Coro::Semaphore, for a moderate
95 (in comparison) 20-40% speedup.
96 - used new SLF interface to reimplement Coro::Signal gaining
97 some unknown (because I was too lazy), but certain, speedup, and also
98 making signals reliable for the first time.
99 - used new SLF interface and other optimisations to speed up async_pool
100 by a factor of two. It also doesn't rely on perl's exception mechanism
101 to exit anymore. The overhead for terminating an async_pool, coro over
102 a normal async is now very small.
103 - sped up coroutine creation/destruction by 40%.
104 - forgot to include Coro/libcoro/README in the dist for all these years.
105 - work around a freebsd pthreads bug (manual testcancel is required as
106 pthread_cond_wait isn't a cancellation point on freebsd).
107 - use new rouse functions to speed up and simplify Coro::BDB.
108 - make "prefer perl native functions" work with threaded perls.
109 - condense Coro::Debug ps output, hint at v and w flags.
110 - (libcoro) lots of minor cleanups and portability improvements.
111
1124.914 Wed Nov 19 12:54:18 CET 2008
113 - fix a disastrous bug in the readline optimisation
114 introduced in 4.801.
115
1164.913 Sat Nov 15 07:58:28 CET 2008
117 - async_pool did free a scalar value twice
118 ("Attempt to unreference...").
119
1204.912 Thu Nov 13 18:31:23 CET 2008
121 - minor cleanups.
122 - use much larger stacks on linux and perl < 5.8.8.
123 - Coro::Debug::new_unix_server did not unlink the socket
124 when destroyed.
125
1264.911 Tue Nov 11 04:26:17 CET 2008
127 - "port" to threaded perls.
128
1294.91 Mon Nov 10 05:36:38 CET 2008
130 - the ->throw exception object no longer leaks.
131 - creating a new cctx leaked a scopestack entry (memleak).
132 - new coroutines didn't get created with a zero flags field
133 (unknown impact).
134 - calling ->throw on a not-yet-started coroutine should now work
135 instead of being ignored.
136 - ->throw is now supported on Coro::State objects.
137 - clean up cctx creation code a bit.
138 - entersub is actually a UNOP, not a LOGOP (not a bugfix).
139
1404.9 Sat Nov 8 17:45:27 CET 2008
141 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there).
142 - (libcoro) no longer leak threads in the experimental pthread backend,
143 also speed it up considerably.
144 - (libcoro) do not rely on makecontext passing void *'s unscathed.
145 - fix compiletime dependencies on libcoro in the Makefile.
146 - cctx_count wasn't always updated properly.
147 - Coro::State::cctx_stacksize wasn't applied correctly.
148 - new function Coro::State::cctx_max_idle.
149 - the default max number of idle C contexts is now 4.
150 - (libcoro) try harder to get _setjmp/_longjmp.
151 - (libcoro) cleanup and extend the libcoro API to officially
152 allow the creation of empty source contexts.
153 - very experimental workaround for the totally broken netbsd platform.
154 - tried to hack around openbsd bugs.
155
1564.804 Wed Nov 5 16:36:00 CET 2008
157 - Coro::Debug::new_unix_server would not create a non-blocking listening
158 socket, sometimes causing freezes.
159 - (libcoro) fix misaligned stack points for setjmp and assembly
160 methods, which can cause crashes on x86/x86_64 with a sufficiently
161 aggressive compiler.
162 - new function: Coro::Debug::new_tcp_server.
163 - move ->throw into the Coro class because it only works on coro objects.
164
1654.803 Mon Nov 3 17:16:12 CET 2008
166 - (libcoro) use a global asm statement to become independent of gcc
167 otpimisations for CORO_ASM (thanks to pippijn for the idea).
168 - try to workaround yet another broken bsd, this time dragonfly.
169
1704.802 Thu Oct 30 10:56:12 CET 2008
171 - support -fno-omit-frame-pointer on x86 with the assembly method.
172 - tune 01_unblock.t tests a bit.
173
1744.801 Wed Oct 22 18:33:37 CEST 2008
175 - improve readline speed for very long "lines".
176 - backport to 5.8.8.
177
1784.8 Thu Oct 2 13:34:40 CEST 2008
179 - new function Coro::AIO::aio_wait.
180 - Coro.:AIO and Coro::BDB now "use Coro::AnyEvent".
181 - greatly speed up and reduce memory usage of Coro::AIO requests.
182 - implement some other ยต-optimisations.
183
1844.749 Mon Sep 29 14:40:12 CEST 2008
185 - port to slow and broken pseudo-threaded perls. (courtesy pippijn).
186
1874.748 Sat Sep 27 14:03:19 CEST 2008
188 - implement, but do not document, PerlIO::cede(granularity).
189 - Coro::Storable forgot to wrap Storable::pstore.
190 - work around the multitude of leaks and memory corruption
191 bugs in PerlIO::via by using our own C-level perliol. As a side
192 effect, Coro::Storable is now much, much, much faster.
193
1944.747 Tue Sep 23 01:59:41 CEST 2008
195 - fix a per-cv memleak (one empty array was leaked per
196 code reference).
197 - avoid a crash in coro->call|rss when the coroutine was already
198 destroyed (most noticably when using Coro::Debug::ps :)
199 - also protect *Storable::FILE.
200 - push up default storable granularity to 20ms.
201
2024.746 Sun Sep 21 03:22:20 CEST 2008
203 - be more insistent on locking Storable against reentrancy
204 in Coro::Storable.
205 - move swap_def?v and throw to Coro::State, as documented.
206
2074.745 Thu Jul 24 00:14:38 CEST 2008
208 - remove debugging code related to MgPV_nolen_const, also try to
209 make it compile with perl 5.8.6 (yes, apple apparently loves
210 outdated software). Reported by John S.
211
2124.744 Tue Jul 8 22:06:35 CEST 2008
213 - correctly provide default DIE/WARN handlers as documented.
214 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
215 implementations inside perl work fine for us.
216
2174.743 Mon Jun 16 00:21:57 CEST 2008
218 - when using Coro::EV without running EV::loop it could
219 result in busy-waiting for events, this has been fixed.
220 - reduce codesize and improve performance by using EV_DEFAULT_UC.
221
2224.742 Sat May 31 14:10:21 CEST 2008
223 - implement a workaround for (some) perl <5.8.8 versions.
224 - require EV 3.3+.
225
2264.741 Fri May 30 23:33:09 CEST 2008
227 - tell netbsd how utterly broken their imitation of an OS is
228 and refuse to build by default if pthreads are in use.
229 - switch to "s" method on all bsd's by default, as their ucontext
230 stuff seems just too broken.
231 - fix a bug in Coro::Select.
232
2334.74 Thu May 29 20:05:31 CEST 2008
234 - do not test Coro::LWP for lack of dependencies.
235 - do not test Coro::Select for lack of working perls.
236
2374.73 Thu May 29 2008
238 - fix a bug in Coro::EV which would cause it to block despite
239 there being runnable coroutines.
8 - sprinkle "no warnings" freely over everything, also suppress 240 - sprinkle "no warnings" freely over everything, also suppress
9 warnings for some other modules. 241 warnings for some other modules.
10 - fix typo in WSAEWOULDBLOCK. 242 - fix typo in WSAEWOULDBLOCK.
11 243
124.72 Sun May 25 05:14:36 CEST 2008 2444.72 Sun May 25 05:14:36 CEST 2008

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines