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

Comparing Coro/Changes (file contents):
Revision 1.259 by root, Fri Oct 5 23:38:39 2007 UTC vs.
Revision 1.311 by root, Thu Dec 27 22:01:34 2007 UTC

3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. 3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
4TODO: maybe implement a default message channel, very much like Erlang 4TODO: maybe implement a default message channel, very much like Erlang
5 (which is cool in a lot of important aspects (failures!), 5 (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
84.02 84.35
9 - "bt" debug command now displays any exceptions
10 from longmess and also skips the innermost
11 stackframes, giving more useufl output.
12 - allow backtraces in coroutines blocked in Coro::EV,
13 at a <1% speed hit.
14
154.34 Sat Dec 22 17:49:53 CET 2007
16 - upgrade to EV version 2.0 API.
17
184.33 Mon Dec 17 08:36:12 CET 2007
19 - make Coro::AIO etc. loadable in the absence of EV.
20
214.32 Mon Dec 17 07:46:02 CET 2007
22 - majorly improved Coro::Handle's performance with Coro::EV.
23 - implemented the until now mythical Coro::BDB module.
24 - specialcase EV in Coro::AIO and Coro::BDB for extra speed.
25
264.31 Wed Dec 5 12:32:39 CET 2007
27 - remove warn statement form Coro::Util.
28
294.3 Tue Dec 4 20:33:14 CET 2007
30 - calls to the idle function could cause stack corruption
31 when the stack changed.
32 - do no longer rely on the presence of EV::DNS if EV is used
33 (because it is gone), but instead take avdantage of EV::ADNS
34 if available.
35 - add ($) prototypes to all functions in Coro::Storable.
36 - use a conventional (safer) idle callback in Coro::EV.
37 - do accept quickly in Coro::Debug to avoid endless loops.
38
394.22 Fri Nov 30 16:04:04 CET 2007
40 - really use optimised versions for Event and EV in Coro::Util
41 and Coro::Handle.
42
434.21 Sun Nov 25 10:48:59 CET 2007
44 - fix a spurious memory read.
45 - Coro::EV no longer keeps the eventloop "alive".
46
474.2 Fri Nov 9 20:47:05 CET 2007
48 - enable/disable tracing from a new coroutine, not a pooled one.
49 - fix a memleak in Coro::Event.
50 - removed killall call from fork_eval.
51 - made sure store_fd is already loaded so that fork_eval
52 does not have to parse autoload in each subprocess.
53 - only use assembly method if -O switch is in $Config{optimize}.
54 - add (optional) Coro::EV module, so far the best event loop module
55 directly supported by Coro.
56 - if the event model is EV, use EV::DNS to resolve
57 stuff in Coro::Util.
58 - don't get confused by multiple event notifications in Coro::Handle.
59 - initial support for EV (libevent interface).
60 - require Event and EV using configure_requires, to force their existance.
61
624.13 Wed Oct 24 07:26:45 CEST 2007
63 - add Coro::Storable::blocking_thaw.
64 - use a vastly more complicated technique to localise
65 $SIG{__WARN/DIE__} that also works on perls <= 5.8.8.
66 - use a coroutine for the idle callback Coro::Event,
67 instead of running Event in the current coroutine context.
68 This also catches recursive invocations.
69 - actually report fork errors in gethostbyname and inet_aton.
70
714.11 Thu Oct 11 02:40:24 CEST 2007
72 - port to threaded perls.
73
744.1 Thu Oct 11 02:38:16 CEST 2007
75 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
76 be local to each coro (see Coro::State).
77 - incompatible change: for very deep reasons, cede and cede_notself
78 cannot return anything, so nothing will be returned.
79 - possibly bring back 5.10 compatibility (untested).
80 - work around stupid (and wrong) warning on 5.10 :(.
81 - overlay the saved state over the context stack. This saves
82 a few hundred bytes per coroutine on average and also
83 speeds up context switching a bit.
84 - further tune default stack sizes.
85 - (more) correctly calculate stack usage in coro_rss.
86 - Coro::Storable::blocking_* did not properly lock
87 resulting in races between coroutines.
88 - added Coro::Storable::guard.
89 - stopping to trace a coroutine could destroy the cctx of
90 an unrelated coroutine.
91 - explain the relationship between Perl and C coroutines in
92 more detail in Coro::State.
93 - Coro::Util::inet_aton did not short-circuit dotted quad forms,
94 causing a fork per resolve. This also affected Coro::Socket.
95 - switch to a separate stack in $coro->call/eval to avoid
96 invalidating pointers.
97
984.03 Sat Oct 6 21:24:00 CEST 2007
99 - added Coro::throw method.
100 - minor code cleanups.
101
1024.02 Sat Oct 6 02:36:47 CEST 2007
9 - fix a very minor per-coroutine memleak (a single codereference). 103 - fix a very minor per-coroutine memleak (a single codereference).
10 - fixed a bug where the currently in-use c context would be freed 104 - fixed a bug where the currently in-use c context would be freed
11 prematurely (can happen only when programs change the stacksize 105 prematurely (can happen only when programs change the stacksize
12 or use tracing). 106 or use tracing).
13 - tracing can no longer keep a coro alive after it terminated. 107 - tracing can no longer keep a coro alive after it terminated.
108 - do static branch prediction in the common path for gcc. gives
109 about 2-5% speed improvement here.
14 110
154.01 Fri Oct 5 22:10:49 CEST 2007 1114.01 Fri Oct 5 22:10:49 CEST 2007
16 - instead of recreating *a* standard output handle we simply 112 - instead of recreating *a* standard output handle we simply
17 use STDOUT, which is faster and hopefully more robust. 113 use STDOUT, which is faster and hopefully more robust.
18 114

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines