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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines