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

Comparing Coro/Changes (file contents):
Revision 1.134 by root, Wed Nov 1 22:02:45 2006 UTC vs.
Revision 1.194 by root, Fri Jan 5 18:25:51 2007 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: possibly convert some of the Event modules into AnyEvent users. 3TODO: better (earlier) error messages on broken transfer's
4TODO: destroy gets only called on cancel: fix(?)
5
63.3
7 - implement $coro->on_destroy.
8 - Coro::Event blocking semantics have been changed,
9 documented and - hopefully - improved.
10 - fix nice adding, not subtracting, from priority.
11 - fix ->prio and api_is_ready (patch by Mark Hinds).
12 - fixed an assert ("... == prev__cctx->idle_te")
13 that could errronously trigger.
14 - fix various large and small memleaks.
15 - use a (hopefully) more stable cancel implementation
16 that immediately frees the coroutine data.
17 - cede/cede_notself return a status now.
18 - added Coro::guard function.
19 - added a global coroutine pool for jobs (on my machine,
20 I can create and execute 48k simple coros/s with async,
21 and 128k coros with async_pool).
22
233.2 Fri Dec 22 05:07:09 CET 2006
24 - improve portability to slightly older perls.
25 - use cleaner coroutine destruction.
26 - simplify configuration for users.
27 - optionally (unrecommended) prefer perl functions over
28 their coro replacements.
29
303.11 Tue Dec 5 13:11:24 CET 2006
31 - fixed some bogus assert's, but as perl.h disables assert even
32 without NDEBUG (thank you very much), not too many people should
33 notice (that did include myself). Andreas König noticed, though :)
34 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
35 it. Also noticed by Andreas König :)
36 - save/restore tainted status.
37 - verified to pass the testsuite on my 5.9.5.
38
393.1 Mon Dec 4 23:03:40 CET 2006
40 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
41 - incompatible change: transfer flags are now per-state.
42 - give a better error message on deadlock.
43 - document Coro::nready.
44 - enhanced testsuite.
45
463.01 Sun Dec 3 23:47:42 CET 2006
47 - forgot to include Coro::Timer.
48
493.0 Sun Dec 3 22:57:25 CET 2006
50 - the "FINALLY COMPLETELY STABLE" release (coming soon:
51 the "FAMOUS LAST WORDS" release).
52 - implement a new stack sharing algorithm, which uses a stack
53 pool (size currently hardcoded).
54 - make stack sharing mandatory (it no longer uses a heuristic).
55 - eval/die no longer cause weird problems under heavy use.
56 - Coro::Event could cause livelocks if it was used but
57 no Coro::Event watchers were used.
58 - Coro::Event now uses asynccheck as prepare does not
59 check for changed watchers.
60 - Coro::Event allows multiple waiting coros and will wake up one
61 per event.
62 - Coro::Event should be cleaner and more efficient now.
63 - new utility function Coro::unblock_sub.
64 - document the sad fact that Event is no longer reentrant.
65 - putting a coroutine into the ready queue twice could under
66 some circumstances lead to stack corruption.
67 - minor incompatibility: subclassing Coro::State is supported
68 directly now without going through a _coro_state member.
69 - state/coro switching is much faster now.
70 - very minor optimisations and code/documentation cleanup.
71 - avoid problems due to compiler inlining.
72 - removed timers from Coro::Timer -> use AnyEvent instead.
73 - replaced Coro::idle coroutine by (cleaner) idle handler.
74 - updated to newest libcoro.
75 - implement enhanced support for valgrind.
76 - implement is_ready and return value for ready.
77 - removed Coro::Cont, it was a misnomer (it's generators),
78 and it was somewhat annoying to get it right. Will come back
79 if somebody asks for it :)
80 - many ->wait methods and Coro::Event could return
81 spuriously without the event having happened.
82
832.5 Tue Nov 7 12:22:33 CET 2006
84 - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket
85 use AnyEvent, moved them to Coro/.
86 - added Coro::LWP which contains all the uglyness required to
87 make LWP non-blocking.
88 - should work with perl 5.9.x now (Andreas König made me do it).
89 - fixed another bug in Coro::Select when the timeout was undef.
90 - reuse PL_start_env for all coros, saves some memory per coroutine.
91 - manage PL_top_env differently, hopefully to avoid panic: top_env.
92 - timeout argument was not properly used in Coro::Socket.
93 - allow limited forms of subclassing in Coro::Handle/Coro::Socket.
94 - emulate undocumented(!) functionality of IO::Socket required
95 by LWP(!!).
96 - updated eg/lwp to work with newer lwp's.
97 - remove "FATAL: uncaught exception" prefix. Coroutines that die
98 kill the whole process, just as exceptions in the main "coroutine"
99 did already.
4 100
52.1 Wed Nov 1 23:01:13 CET 2006 1012.1 Wed Nov 1 23:01:13 CET 2006
6 - fix a long-standing bug in Coro::Select where select with 102 - fix a long-standing bug in Coro::Select where select with
7 zero timeout would instead change the current default filehandle. 103 zero timeout would instead change the current default filehandle.
8 - use a simpler and hopefully more robust way to clone padlists 104 - use a simpler and hopefully more robust way to clone padlists

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines