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

Comparing Coro/Changes (file contents):
Revision 1.447 by root, Thu Nov 20 06:32:55 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
8TODO: async_pool to SLF 8new -> ready
9TODO: _cancel to xs 9new -> canceled
105.0 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
11 - NEW ARCHITECTURE: use the latest 4.x version if you experience 70 - NEW ARCHITECTURE: use the latest 4.x version if you experience
12 stability issues. 71 stability issues.
13 - bump API version to 7 - all dependents must be recompiled. 72 - bump API version to 7 - all dependents must be recompiled.
14 - removed timed_* functions - they were not being used anyways 73 - removed timed_* functions - they were not being used anyways
15 and should be replaced by a more generic mechanism - 74 and should be replaced by a more generic mechanism -
16 and were annoying to support anyways :) 75 and were annoying to support anyways :)
17 - removed SemaphoreSet's waiter method - use sem instead. 76 - removed SemaphoreSet's waiter method - use sem method instead.
18 - Coro::Semaphore->adjust didn't correctly wake up enough waiters. 77 - Coro::Semaphore->adjust didn't correctly wake up enough waiters.
19 - async_pool did free a scalar value twice 78 - async_pool did free a scalar value twice
20 ("Attempt to unreference..."). 79 ("Attempt to unreference...").
21 - fix a disastrous bug in the readline optimisation
22 introduced in 4.801.
23 - fix a longstanding bug where calling terminate on a coro that 80 - fix a longstanding bug where calling terminate on a coro that
24 was waiting for a semaphore that was just becoming available 81 was waiting for a semaphore that was just becoming available
25 would cause a deadlock (semaphore would get into a state where 82 would cause a deadlock (semaphore would get into a state where
26 it was available but waiters were still blocked). 83 it was available but waiters were still blocked).
27 - calling throw on a coroutine that is waiting for a semaphore will 84 - calling throw on a coroutine that is waiting for a semaphore will
69 - use new rouse functions to speed up and simplify Coro::BDB. 126 - use new rouse functions to speed up and simplify Coro::BDB.
70 - make "prefer perl native functions" work with threaded perls. 127 - make "prefer perl native functions" work with threaded perls.
71 - condense Coro::Debug ps output, hint at v and w flags. 128 - condense Coro::Debug ps output, hint at v and w flags.
72 - (libcoro) lots of minor cleanups and portability improvements. 129 - (libcoro) lots of minor cleanups and portability improvements.
73 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
744.913 Sat Nov 15 07:58:28 CET 2008 1354.913 Sat Nov 15 07:58:28 CET 2008
75 - async_pool did free a scalar value twice 136 - async_pool did free a scalar value twice
76 ("Attempt to unreference..."). 137 ("Attempt to unreference...").
77 138
784.912 Thu Nov 13 18:31:23 CET 2008 1394.912 Thu Nov 13 18:31:23 CET 2008

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines