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

Comparing Coro/Changes (file contents):
Revision 1.534 by root, Sun Apr 11 19:23:18 2010 UTC vs.
Revision 1.612 by root, Fri Feb 8 22:29:18 2013 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: should explore PerlIO::coroaio (perl leaks like hell). 3TODO: should explore PerlIO::coroaio (perl leaks like hell).
4TODO: unready_all
5TODO: myhttpd header parsing
6TODO: channel->maxsize(newsize)? 4TODO: channel->maxsize(newsize)?
5TODO: __GCC_HAVE_DWARF2_CFI_ASM
7 6
8TODO: http://www.microsoft.com/msj/archive/s2ce.aspx 7 - improved Coro::State documentation a bit.
8 - Coro::Debug::command now flushes the output.
9 - add hack detection code for x32 abi, because the braindead slugs
10 who designed that made it look exactly like x86_64 without
11 providing proper compile time symbols to test for it. as a result,
12 this detection cannot work reliably.
13 - valgrind stack registering was broken.
14 - do not rely on Time::HiRes anymore in Coro::Debug.
9 15
166.23 Fri Dec 7 23:36:37 CET 2012
17 - use experimental fiber implementation on native windows
18 perls.
19 - use sizeof (void *) as multiplication factor for stack sizes,
20 to accomodate the totally braindamaged microsoft 64 bit "os".
21 - changed verifier host from win2k-ap510-32 to win7-sp516-32/64.
22 activeperl 5.16 crashes when PerlIO_define_layer is called due
23 to some bug in the perl dll, strawberry perl at least passes
24 the testsuite.
25 - implement Coro::Handle->peeraddr/host/port, for slightly
26 improved compatibility with LWP.
27 - implement 5.17 compatibility by almost blindly applying a
28 good-looking patch by Father Chrysostomos.
29 - move stack management functions into libcoro 3.
30 - libcoro version 3 "released".
31 - support magic values as timed_io_once args.
32 - recommend AnyEvent 7+ or EV 4+, also require EV
33 version 4 or newer for Coro::EV.
34
356.10 Tue Oct 9 01:14:27 CEST 2012
36 - updated ecb.h, it had a typo that caused it to not compile on many
37 big endian systems (reported by many people).
38 - disable memory fences in ecb.h to improve portability.
39
406.09 Sat Oct 6 23:25:02 CEST 2012
41 - Coro::EV I/O watchers were not interruptible by exceptions
42 (Coro::State::throw) (testcase by sten).
43 - ->throw now puts threads into the ready queue, as this seems to
44 be expected by existing code, and code that doesn't cope with spurious
45 wakeups needs fixing anyway.
46 - use fd -1 in mmap.
47 - cast I32 to int in error message printf.
48 - warn about broken so-called "hardened" kernels.
49
506.08 Fri Apr 13 12:05:47 CEST 2012
51 - be more aggressive about exiting like perl does - formerly,
52 exiting from the non-main thread would not execute END blocks.
53
546.07 Fri Nov 11 21:21:48 CET 2011
55 - work around a bug in PerlIO (setting $SIG{__WARN__} to a PVCV).
56 - update ecb.h.
57
586.06 Mon Aug 8 23:59:48 CEST 2011
59 - cygwin unfortunately patches the stack at runtime, so we use the pthreads
60 backend, which is an order of magnitude slower. unfortunately, cygwins
61 pthread implementation isn't very complete either, so allocate the stack
62 twice just to be sure.
63 (note: cygwin also enables mymalloc, which is NOT THREADSAFE ON WINDOWS,
64 in its ithreaded perl - best recompile cygwin and use the 'w'indows
65 backend for much better performance. also disable ithreads for
66 even better performance...).
67
686.05 Thu Aug 4 21:36:36 CEST 2011
69 - blush, condvar values would not be propagated from send to recv anymore
70 (reported by Chip Salzenberg).
71 - use exponential increase for the readline buffer length in
72 Coro::Handle. also reduce initial allocation to 1020 from 4096 bytes.
73
746.04 Wed Aug 3 17:15:45 CEST 2011
75 - use even more efficient and more compatible condvars for
76 compatibility to AnyEvent 6.x :)
77 - more inconsequential ecb.h updates.
78
796.03 Wed Aug 3 11:41:30 CEST 2011
80 - change how Coro patches AnyEvent condvars for compatibility to
81 AnyEvent 6.x.
82 - update ecb.h, to no longer include <pthread.h> in case WinNT.h
83 hasn't been included.
84
856.02 Wed Jul 13 04:35:19 CEST 2011
86 - "improve portability to Gentoo" - gentoo manages to put perl variables
87 in memory areas that are farther than 2gb apart, which the jit couldn't
88 handle and barfed. now it's just a bit slower on gentoo and similar
89 systems.
90
916.01 Sun Jul 3 12:31:14 CEST 2011
92 - workarounds are good, but the test for whether pthreads are used
93 was not good. thisone should be better.
94 - check differently whether gcc generates cfi instructions itself.
95
966.0 Wed Jun 29 19:43:35 CEST 2011
97 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be
98 destroyed and cleaned up automatically (e.g. async { schedule }).
99 - implement a JIT compiler for part of the thread switch code,
100 which gives a 50% speed improvement on threaded perls, and
101 about 4% on non-thraeded perls (so threaded perls now finally
102 reach about half the speed of non-threaded perls).
103 - slightly modernise Coro::Intro, add section about rouse functions.
104 - avoid DEFSV and ERRSV, giving another 10% improvement
105 in thread switching.
106 - Coro::State->is_destroyed is now called is_zombie.
107 - implement a Coro->safe_cancel method that might fail, but
108 cancels in a "safer" way if it succeeds.
109 - add preliminary support for DEBUGGING perls.
110 - get rid of two hash-accesses when initialising a new Coro - this
111 speeds up coro creation by almost a factor of two.
112 - croak when a coro that is being cancelled tries to block
113 (e.g. while executing a guard block), instead of crashing or
114 deadlocking.
115 - use a more robust and also faster method to identify Coro::State
116 objects - speeds up everything a bit.
117 - implement Coro->cancel in XS for a 20% speed improvement, and to
118 be able to implement mutual cancellation.
119 - speed up context switches by a percent or two by more efficiently
120 allocating context stack entries.
121 - implement Coro->join and Coro->on_destroy in XS for a speedup and
122 a reduction in memory use.
123 - cancelling a coro while it itself is cancelling another coro is
124 now supported and working, instead of triggering an assertion.
125 - be a bit more crash-resistant when calling (buggy) on_destroy
126 callbacks (best effort).
127 - move on_destroy into the slf_frame, to allow extension slf
128 functions to have destructors.
129 - get rid if coro refcounting - simply crash in other interpreter
130 threads by nulling the pointers on clone.
131 - simplify warn/die hook handling when loading Coro - the convoluted
132 logic seems to be no longer neccessary.
133 - use libecb instead of our own home-grown gcc hacks.
134 - document alternatives to Coro::LWP. Please use them :)
135 - work around another mindless idiotic NEEDLESS bug in openbsd/mirbsds
136 sigaltstack. Really. wine suffers from it, erlang suffers from it,
137 and it's known since at least 2006.
138
1395.372 Wed Feb 23 06:14:30 CET 2011
140 - apparently mingw doesn't provide a working gettimeofday, try to
141 work around that by relying on Time::HiRes (indirectly brought to
142 my attention by Max Maischein).
143 - fix some portability issues when Time::HiRes was used.
144
1455.371 Mon Feb 21 14:36:08 CET 2011
146 - backport to windows process emulation code again.
147
1485.37 Sat Feb 19 07:49:44 CET 2011
149 - add a big "Coro thread life cycle" section to "man Coro".
150 - try a tentative workaround against the breakage that 5.13 has
151 introduced without depreciation period. sigh.
152 - no longer use Time::HiRes if gettimeofday is available, which
153 saves quite a lot of memory.
154
1555.36 Sun Feb 13 05:33:41 CET 2011
156 - automatically load Coro::Channel, Coro::RWLock, Coro::Semaphore,
157 Coro::SemaphoreSet, Coro::Signal and Coro::Specific on first "new"
158 method call.
159 - undocument Coro::Timer::sleep and obsolete whole module.
160 - optimise Coro::Timer::timeout memory and cpu usage.
161 - slightly updated Coro::Intro for recent changes.
162 - do not initialise PL_dirty anymore.
163
1645.25 Thu Nov 11 01:08:39 CET 2010
165 - try a different approach on netbsd - netbsd 5 finally has marginally
166 working pthreads, but still broken ucontext/sigaltstack.
167 - openbsd 4.8 finally got their act together, Coro works out of the box
168 with asm, setjmp and pthreads (no change, just informational).
169
1705.24 Sat Oct 23 11:27:12 CEST 2010
171 - port to the EV 4.0 API.
172 - work around bugs in mingw32, making strawberry perl work
173 out of the box.
174 - correctly modify Coro::AIO function prototypes
175 so that they reflect the "no optional parameters" rule.
176 - "ported" libcoro to C++.
177
1785.23 Mon May 17 18:50:42 CEST 2010
179 - be more resistant to ordering changes when initialising
180 Coro::AnyEvent, Coro::EV and Coro::Event (reported by Matthias
181 Waldorf).
182 - document that perl 5.12 deliberately removed support for cloning.
183
1845.22 Wed Apr 14 03:55:35 CEST 2010
185 - correctly return udnef on errors in Coro::Handle::read/write
186 (testcase by Marc Mims).
10 - convert Coro::Util into a "perl compatibility wrapper" - the functions 187 - convert Coro::Util into a "perl compatibility wrapper" - the functions
11 are less useful now, but are drop-in replacements for existing 188 are less useful now, but are drop-in replacements for existing
12 functions, listing better alternatives in the documentation. This also 189 functions, listing better alternatives in the documentation. This also
13 fixes a bug in Coro::LWP which naively substituted Socket::inet_aton 190 fixes a bug in Coro::LWP which naively substituted Socket::inet_aton
14 with Coro::Util::inet_aton. 191 with Coro::Util::inet_aton.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines