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

Comparing Coro/Changes (file contents):
Revision 1.168 by root, Fri Dec 1 19:58:52 2006 UTC vs.
Revision 1.257 by root, Fri Oct 5 20:47:49 2007 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
33.0 3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
4TODO: 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)).
7
84.01 Fri Oct 5 22:10:49 CEST 2007
9 - instead of recreating *a* standard output handle we simply
10 use STDOUT, which is faster and hopefully more robust.
11
124.0 Fri Oct 5 12:56:00 CEST 2007
13 - incompatibly changed Coro::Storable::freeze.
14 - major new feature: added Coro::Debug, for interactive coroutine
15 debugging, tracing and much more.
16 - major bug fix: unbelievable, but true: $_, $/ and many other
17 "saved" variables actually weren't being saved. This has been fixed,
18 of course, while increasing performance while losing all the save
19 flags.
20 - save flags are gone, and all the api functions dealing with them.
21 - added Coro::Semaphore::adjust.
22 - added Coro::Util::fork_eval.
23 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
24 - added Coro::killall.
25 - reduce initial stack sizes to allow for "micro-coroutines".
26 - better async_pool resource management, moved parts of async_pool
27 handling to XS (major speed improvement).
28 - actually croak before modifying important data structures.
29 - refuse to transfer while compiling.
30 - possibly support eval EXPR better now.
31 - enable assembly per default on linux+bsd x86+amd64.
32 - all internal members were renamed _something for easier subclassing.
33 - many minor tweaks.
34
353.63 Wed May 16 14:10:06 CEST 2007
36 - implement handcoded assembly for x86/amd64 SVR ABI.
37
383.62 Fri Apr 27 21:36:06 CEST 2007
39 - upgrade libcoro (which might set unwind info correctly).
40 - change default on linux to setjmp/longjmp.
41
423.61 Thu Apr 19 12:36:18 CEST 2007
43 - Coro::Storable caused an endless loop when thawing invalid
44 pst's sometimes.
45 - use a Semaphore in Coro::Storable, as Storable doesn't
46 seem to be reentrant (although it is documented to
47 be threadsafe...).
48 - fix Coro::Signal to bring back the original unreliable
49 but stateful semantics.
50 - fixed a lot of typos in Coro.pm (patch submitted by David
51 Steinbrunner, which applied flawlessly).
52
533.6 Sat Apr 14 17:13:31 CEST 2007
54 - added some bugfixes to get eg/myhttpd working again.
55 - added Coro::Storable for often-cede'ing freeze/thaw.
56 - try to do a clean exit when a coroutine calls exit
57 (EXPERIMENTAL).
58 - got rid of indirect call through _coro_init.
59 - updated the partly antique examples in eg/ to
60 work again and be a bit less magic, too.
61 - fixed Coro::Signal semantics to work as documented again.
62
633.55 Sun Mar 25 01:20:47 CET 2007
64 - add SAVE_DEFFH to save the default filehandle and enable
65 it by default.
66 - finally move socket-operations from Coro::Socket to Coro::Handle
67 to be able to unblock foreign sockets.
68 - add Coro::State::save_also and guarded_save.
69 - add count accessor to Coro::Semaphore.
70 - add Coro::State::cctx_stacksize.
71 - just for the fun of it, do not rely on implicit context,
72 which can dramatically improve performance, but people
73 using windows-process-emulation perls do not care much about
74 performance.
75
763.51 Sun Mar 4 14:18:04 CET 2007
77 - fixed a problem when you weakened references to Coro::State's
78 (patch by Yuval Kogman).
79
803.501 Wed Feb 28 12:44:07 CET 2007
81 - rename some global symbols as macosx from hell redefines
82 them without asking.
83
843.5 Tue Feb 13 20:22:53 CET 2007
85 - do AnyEvent model detection earlier, avoiding problems
86 caused by first using AnyEvent and later Coro::Event.
87 - implement and document Coro::Event event objects.
88 - fix a potential problem in Coro::Event causing crashes.
89 - initialise PL_comppad when creating a new coroutine,
90 avoids crashes on early coro destruction.
91
923.41 Mon Jan 22 19:19:49 CET 2007
93 - readline on Coro::Handle did not support undefined $/,
94 nor did it deliver partial lines on EOF or error.
95 - implement malloc fallback for stack allocation because
96 stupid broken idiotic OSX has a stupid broken
97 idiotic fits-the-whole-os mmap "implementation" and
98 my dick feels longer if Coro is portable even to
99 obsolete platforms.
100
1013.4 Fri Jan 19 21:52:54 CET 2007
102 - remove t/09_timer.t, as it isn't really testing much
103 but was rather flaky in practise.
104 - async_pool coro would keep arguments and callback alive until
105 it was reused.
106 - cancellation of a coroutine could cause spurious idle calls
107 in cede_notself.
108
1093.3 Sat Jan 6 03:45:00 CET 2007
110 - implement $coro->on_destroy.
111 - Coro::Event blocking semantics have been changed,
112 documented and - hopefully - improved.
113 - fix nice adding, not subtracting, from priority.
114 - fix ->prio and api_is_ready (patch by Mark Hinds).
115 - fixed an assert ("... == prev__cctx->idle_te")
116 that could errronously trigger.
117 - fix various large and small memleaks.
118 - use a (hopefully) more stable cancel implementation
119 that immediately frees the coroutine data.
120 - cede/cede_notself return a status now.
121 - added Coro::guard function.
122 - added a global coroutine pool for jobs (on my machine,
123 I can create and execute 48k simple coros/s with async,
124 and 128k coros with async_pool).
125 - Coro::AIO now uses the coroutine priority as io priority.
126
1273.2 Fri Dec 22 05:07:09 CET 2006
128 - improve portability to slightly older perls.
129 - use cleaner coroutine destruction.
130 - simplify configuration for users.
131 - optionally (unrecommended) prefer perl functions over
132 their coro replacements.
133
1343.11 Tue Dec 5 13:11:24 CET 2006
135 - fixed some bogus assert's, but as perl.h disables assert even
136 without NDEBUG (thank you very much), not too many people should
137 notice (that did include myself). Andreas König noticed, though :)
138 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
139 it. Also noticed by Andreas König :)
140 - save/restore tainted status.
141 - verified to pass the testsuite on my 5.9.5.
142
1433.1 Mon Dec 4 23:03:40 CET 2006
144 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
145 - incompatible change: transfer flags are now per-state.
146 - give a better error message on deadlock.
147 - document Coro::nready.
148 - enhanced testsuite.
149
1503.01 Sun Dec 3 23:47:42 CET 2006
151 - forgot to include Coro::Timer.
152
1533.0 Sun Dec 3 22:57:25 CET 2006
4 - the "FINALLY COMPLETELY STABLE" release (coming soon: 154 - the "FINALLY COMPLETELY STABLE" release (coming soon:
5 the "FAMOUS LAST WORDS" release). 155 the "FAMOUS LAST WORDS" release).
6 - implement a new stack sharing algorithm, which uses a stack 156 - implement a new stack sharing algorithm, which uses a stack
7 pool (size currently hardcoded). 157 pool (size currently hardcoded).
8 - make stack sharing mandatory (it no longer uses a heuristic). 158 - make stack sharing mandatory (it no longer uses a heuristic).
9 - eval/die no longer cause weird problems under heavy use. 159 - eval/die no longer cause weird problems under heavy use.
10 - Coro::Event could cause livelocks if it was used but 160 - Coro::Event could cause livelocks if it was used but
11 no Coro::Event watchers were used. 161 no Coro::Event watchers were used.
12 - Coro::Event now uses asynccheck as prepare does not 162 - Coro::Event now uses asynccheck as prepare does not
13 check for changed watchers. 163 check for changed watchers.
164 - Coro::Event allows multiple waiting coros and will wake up one
165 per event.
14 - Coro::Event should be cleaner and more efficient now. 166 - Coro::Event should be cleaner and more efficient now.
15 - new utility function Coro::unblock_sub. 167 - new utility function Coro::unblock_sub.
16 - document the sad fact that Event is no longer reentrant. 168 - document the sad fact that Event is no longer reentrant.
17 - putting a coroutine into the ready queue twice could under 169 - putting a coroutine into the ready queue twice could under
18 some circumstances lead to stack corruption. 170 some circumstances lead to stack corruption.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines