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

Comparing Coro/Changes (file contents):
Revision 1.408 by root, Fri Nov 14 02:29:09 2008 UTC vs.
Revision 1.476 by root, Sun Dec 7 15:33:21 2008 UTC

3TODO: should explore PerlIO::coroaio (perl leaks like hell). 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
85.0 8new -> ready
9 - ARCHITECTURAL REDESIGN, use 4.912 for the stable version. 9new -> canceled
10ready -> running
11ready -> canceled
12running -> ready
13running -> blocked
14running -> canceled
15blocked -> ready
16blocked -> canceled
17
18 - don't set diehook to C<undef> but instead to NULL, to avoid
19 spurious warnings.
20
215.12 Sun Dec 7 13:30:38 CET 2008
22 - add default config for MirOS, which seems to be a bug-to-bug
23 compatible fork of openbsd ("world domination by releasing
24 openbsd cvs before the openbsd folks do it" or so :).
25 - free_padlist did destroy the names pad, not good, but didn't
26 seem to bother perl - this could fix issues such as eval ""
27 inside a function called form multiple coroutines.
28 - use a different method to detect destruction time.
29 - be more careful when freeing padlists just before global
30 destruction.
31 - fixed and expanded the call/cc example.
32 - renamed _terminate to _coro_run.
33 - new method Coro::Channel->shutdown.
34 - try pthreads on openbsd <4.4 (broken sigaltstack, will
35 pthreads fare better?).
36 - be less picky about destroying "a" running coroutine.
37
385.11 Tue Nov 25 21:49:05 CET 2008
39 - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly
40 working code with failed assertions, introducing more bugs than
41 it fixes, requiring elaborate workarounds :(
42
435.1 Mon Nov 24 08:54:59 CET 2008
44 - wrote a small introductory tutorial - Coro::Intro.
45 - convert Coro::Timer, Coro::Select and Coro::Util to rouse API.
46 - Coro::Select did errornously dup the file descriptors
47 and didn't work with all AnyEvent backends.
48 - Coro::Select wasn't imported correctly form Coro::LWP, causing blocking
49 LWP data transfers.
50 - disassociate c contexts from coro objects - this is agruably more
51 correct, but mostly allows sharing of cctxs between coro and state
52 objects, for added memory savings and speed increases.
53 - bumped $Coro::POOL_RSS up to 32kb by default.
54 - no longer set the optype to OP_CUSTOM, as B::* understandably
55 doesn't like this very much (and we *are* a type of entersub).
56 - implement state cloning, just to prove that call/cc can be done.
57 - automatically load Coro::AnyEvent in Coro::Handle.
58 - wrap ->cancel calls in eval inside Coro::Handle as EV watchers
59 do not have this method (and don't need it either).
60 - speed up generic anyevent methods in Coro::Handle by using rouse
61 callbacks.
62 - allow coroutines in $Coro::IDLE, speeding up Coro::AnyEvent and
63 others. It also makes the debugger happier, as you can trace
64 through the idle threads now.
65 - add comppad_name* and hints ($^H, %^H) to per-thread variables.
66 - eg/event was pretty broken.
67 - better 5.8.6 compatibility.
68
695.0 Thu Nov 20 10:35:05 CET 2008
70 - NEW ARCHITECTURE: use the latest 4.x version if you experience
71 stability issues.
72 - bump API version to 7 - all dependents must be recompiled.
73 - removed timed_* functions - they were not being used anyways
74 and should be replaced by a more generic mechanism -
75 and were annoying to support anyways :)
76 - removed SemaphoreSet's waiter method - use sem method instead.
77 - Coro::Semaphore->adjust didn't correctly wake up enough waiters.
78 - async_pool did free a scalar value twice
79 ("Attempt to unreference...").
80 - fix a longstanding bug where calling terminate on a coro that
81 was waiting for a semaphore that was just becoming available
82 would cause a deadlock (semaphore would get into a state where
83 it was available but waiters were still blocked).
84 - calling throw on a coroutine that is waiting for a semaphore will
85 no longer make it acquire the semaphore (and thus leak a count).
86 - perl's process emulation is now not even theoretically supported
87 anymore.
88 - new functions Coro::rouse_cb and Coro::rouse_wait for easier
89 conversion of callback-style to blocking-style.
90 - new methods $coro->schedule_to and ->cede_to, to specifically
91 schedule or cede to a specific coroutine.
92 - new function Coro::Semaphore::wait.
93 - use named constants in Coro::Channel (Richard Hundt).
10 - directly patch the entersub opcode calling ssl functions (cede, 94 - directly patch the entersub opcode calling SLF functions (cede,
11 transfer and so on). this does speed up context switching by 95 transfer and so on). this does speed up context switching, but
12 up to 10%. More importanly, it frees us from the hardcoded 96 more importanly, it frees us from the hardcoded behaviour of
13 behaviour of entersub, so we might actually be able to return 97 entersub, so we might actually be able to return something from
14 something from those functions. 98 those functions and atcually create new ones.
99 - take advantage of __builtin_frame_address on gcc.
100 - expose THX in coroapi (not sure whether this was a wise decision,
101 as "threaded" perls are running at half speed anyways).
102 - implement execute_slf (schedule-like-function) interface that makes
103 it possible to implement schedule-like-functions in XS.
104 - use new SLF interface to massively speed up Coro::EV by roughly a
105 factor of two.
106 - used new SLF interface to massively speed up Coro::Semaphore by a
107 factor of three.
108 - used new SLF interface to speed up Coro::AIO by roughly a factor of
109 four and reduce its memory usage considerably.
110 - implement Coro::SemaphoreSet purely in terms of Coro::Semaphore,
111 for a nice speedup and vastly more correct behaviour. Also implement
112 a new method "sem" to get at the underlying semaphore object.
113 - implement Coro::Channel in terms of Coro::Semaphore, for a moderate
114 (in comparison) 20-40% speedup.
115 - used new SLF interface to reimplement Coro::Signal gaining
116 some unknown (because I was too lazy), but certain, speedup, and also
117 making signals reliable for the first time.
118 - used new SLF interface and other optimisations to speed up async_pool
119 by a factor of two. It also doesn't rely on perl's exception mechanism
120 to exit anymore. The overhead for terminating an async_pool, coro over
121 a normal async is now very small.
122 - sped up coroutine creation/destruction by 40%.
123 - forgot to include Coro/libcoro/README in the dist for all these years.
124 - work around a freebsd pthreads bug (manual testcancel is required as
125 pthread_cond_wait isn't a cancellation point on freebsd).
126 - use new rouse functions to speed up and simplify Coro::BDB.
127 - make "prefer perl native functions" work with threaded perls.
128 - condense Coro::Debug ps output, hint at v and w flags.
129 - (libcoro) lots of minor cleanups and portability improvements.
130
1314.914 Wed Nov 19 12:54:18 CET 2008
132 - fix a disastrous bug in the readline optimisation
133 introduced in 4.801.
134
1354.913 Sat Nov 15 07:58:28 CET 2008
136 - async_pool did free a scalar value twice
137 ("Attempt to unreference...").
15 138
164.912 Thu Nov 13 18:31:23 CET 2008 1394.912 Thu Nov 13 18:31:23 CET 2008
17 - minor cleanups. 140 - minor cleanups.
18 - use much larger stacks on linux and perl < 5.8.8. 141 - use much larger stacks on linux and perl < 5.8.8.
19 - Coro::Debug::new_unix_server did not unlink the socket 142 - Coro::Debug::new_unix_server did not unlink the socket

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines