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

Comparing Coro/Changes (file contents):
Revision 1.418 by root, Sun Nov 16 00:55:41 2008 UTC vs.
Revision 1.455 by root, Fri Nov 21 02:39:40 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 8 - convert Coro::Timer, Coro::Select and Coro::Util to rouse API.
9 - NEW ARCHITECTURE: use 4.912 for the stable version. 9 - Coro::Select did errornously dup the file descriptors
10 and didn't work with all AnyEvent backends.
11 - bumped $Coro::POOL_RSS up to 32kb by default.
12
135.0 Thu Nov 20 10:35:05 CET 2008
14 - NEW ARCHITECTURE: use the latest 4.x version if you experience
15 stability issues.
10 - bump API version to 7 - all dependents must be recompiled. 16 - bump API version to 7 - all dependents must be recompiled.
17 - removed timed_* functions - they were not being used anyways
18 and should be replaced by a more generic mechanism -
19 and were annoying to support anyways :)
20 - removed SemaphoreSet's waiter method - use sem method instead.
11 - Coro::Semaphore->adjust didn't correctly wake up enough waiters. 21 - Coro::Semaphore->adjust didn't correctly wake up enough waiters.
12 - async_pool did free a scalar value twice 22 - async_pool did free a scalar value twice
13 ("Attempt to unreference..."). 23 ("Attempt to unreference...").
24 - fix a longstanding bug where calling terminate on a coro that
25 was waiting for a semaphore that was just becoming available
26 would cause a deadlock (semaphore would get into a state where
27 it was available but waiters were still blocked).
28 - calling throw on a coroutine that is waiting for a semaphore will
29 no longer make it acquire the semaphore (and thus leak a count).
14 - perl's process emulation is now not even theoretically supported 30 - perl's process emulation is now not even theoretically supported
15 anymore. 31 anymore.
32 - new functions Coro::rouse_cb and Coro::rouse_wait for easier
33 conversion of callback-style to blocking-style.
34 - new methods $coro->schedule_to and ->cede_to, to specifically
35 schedule or cede to a specific coroutine.
36 - new function Coro::Semaphore::wait.
37 - use named constants in Coro::Channel (Richard Hundt).
16 - directly patch the entersub opcode calling SLF functions (cede, 38 - directly patch the entersub opcode calling SLF functions (cede,
17 transfer and so on). this does speed up context switching, but 39 transfer and so on). this does speed up context switching, but
18 more importanly, it frees us from the hardcoded behaviour of 40 more importanly, it frees us from the hardcoded behaviour of
19 entersub, so we might actually be able to return something from 41 entersub, so we might actually be able to return something from
20 those functions and atcually create new ones. 42 those functions and atcually create new ones.
21 - take advantage of __builtin_frame_address on gcc. 43 - take advantage of __builtin_frame_address on gcc.
22 - expose THX in coroapi (not sure whether this was a wise decision, 44 - expose THX in coroapi (not sure whether this was a wise decision,
23 as "threaded" perls are running at half speed anyways). 45 as "threaded" perls are running at half speed anyways).
24 - implement execute_slf (schedule-like-function) interface that makes 46 - implement execute_slf (schedule-like-function) interface that makes
25 it possible to implement schedule-like-functions in XS. 47 it possible to implement schedule-like-functions in XS.
26 - use new SLF interface to massively speed up Coro::EV by roughly a factor 48 - use new SLF interface to massively speed up Coro::EV by roughly a
27 of two. 49 factor of two.
28 - removed timed_down and timed_guard functions - they were not being used
29 anyways and should be replaced by a more generic mechanism - and were
30 annoying to support anyways :
31 - used new SLF interface to massively speed up Coro::Semaphore by a factor 50 - used new SLF interface to massively speed up Coro::Semaphore by a
32 of three. 51 factor of three.
52 - used new SLF interface to speed up Coro::AIO by roughly a factor of
53 four and reduce its memory usage considerably.
54 - implement Coro::SemaphoreSet purely in terms of Coro::Semaphore,
55 for a nice speedup and vastly more correct behaviour. Also implement
56 a new method "sem" to get at the underlying semaphore object.
57 - implement Coro::Channel in terms of Coro::Semaphore, for a moderate
58 (in comparison) 20-40% speedup.
59 - used new SLF interface to reimplement Coro::Signal gaining
60 some unknown (because I was too lazy), but certain, speedup, and also
61 making signals reliable for the first time.
62 - used new SLF interface and other optimisations to speed up async_pool
63 by a factor of two. It also doesn't rely on perl's exception mechanism
64 to exit anymore. The overhead for terminating an async_pool, coro over
65 a normal async is now very small.
66 - sped up coroutine creation/destruction by 40%.
33 - forgot to include Coro/libcoro/README in the dist for all these years. 67 - forgot to include Coro/libcoro/README in the dist for all these years.
34 - work around a freebsd pthreads bug (manual testcancel is required as 68 - work around a freebsd pthreads bug (manual testcancel is required as
35 pthread_cond_wait isn't a cancellation point on freebsd). 69 pthread_cond_wait isn't a cancellation point on freebsd).
70 - use new rouse functions to speed up and simplify Coro::BDB.
71 - make "prefer perl native functions" work with threaded perls.
72 - condense Coro::Debug ps output, hint at v and w flags.
73 - (libcoro) lots of minor cleanups and portability improvements.
74
754.914 Wed Nov 19 12:54:18 CET 2008
76 - fix a disastrous bug in the readline optimisation
77 introduced in 4.801.
36 78
374.913 Sat Nov 15 07:58:28 CET 2008 794.913 Sat Nov 15 07:58:28 CET 2008
38 - async_pool did free a scalar value twice 80 - async_pool did free a scalar value twice
39 ("Attempt to unreference..."). 81 ("Attempt to unreference...").
40 82

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines