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

Comparing Coro/Changes (file contents):
Revision 1.551 by root, Sat Feb 19 06:51:22 2011 UTC vs.
Revision 1.617 by root, Thu May 9 05:40:13 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: channel->maxsize(newsize)? 4TODO: channel->maxsize(newsize)?
5TODO: http://www.microsoft.com/msj/archive/s2ce.aspx 5TODO: __GCC_HAVE_DWARF2_CFI_ASM
6
76.31 Thu May 9 07:39:48 CEST 2013
8 - Coro::AIO requests would crash if the thread was ready'd
9 while the request was ongoing.
10
116.29 Wed May 8 02:55:18 CEST 2013
12 - when an on_destroy handler destructs the coro currently being
13 destructed a perl scalar could be accessed after being freed,
14 likely causing a crash.
15
166.28 Wed Mar 6 06:58:02 CET 2013
17 - clean remnants of existing __DIE__ and __WARN__ handlers so
18 they lose their magic and will not cause segfaults later
19 (testcase by Andrey Sagulin).
20 - improved Coro::State documentation a bit.
21 - Coro::Debug::command now flushes the output.
22 - add hack detection code for x32 abi, because the braindead slugs
23 who designed that made it look exactly like x86_64 without
24 providing proper compile time symbols to test for it. as a result,
25 this detection cannot work reliably.
26 - valgrind stack registering was broken.
27 - do not rely on Time::HiRes anymore in Coro::Debug.
28
296.23 Fri Dec 7 23:36:37 CET 2012
30 - use experimental fiber implementation on native windows
31 perls.
32 - use sizeof (void *) as multiplication factor for stack sizes,
33 to accomodate the totally braindamaged microsoft 64 bit "os".
34 - changed verifier host from win2k-ap510-32 to win7-sp516-32/64.
35 activeperl 5.16 crashes when PerlIO_define_layer is called due
36 to some bug in the perl dll, strawberry perl at least passes
37 the testsuite.
38 - implement Coro::Handle->peeraddr/host/port, for slightly
39 improved compatibility with LWP.
40 - implement 5.17 compatibility by almost blindly applying a
41 good-looking patch by Father Chrysostomos.
42 - move stack management functions into libcoro 3.
43 - libcoro version 3 "released".
44 - support magic values as timed_io_once args.
45 - recommend AnyEvent 7+ or EV 4+, also require EV
46 version 4 or newer for Coro::EV.
47
486.10 Tue Oct 9 01:14:27 CEST 2012
49 - updated ecb.h, it had a typo that caused it to not compile on many
50 big endian systems (reported by many people).
51 - disable memory fences in ecb.h to improve portability.
52
536.09 Sat Oct 6 23:25:02 CEST 2012
54 - Coro::EV I/O watchers were not interruptible by exceptions
55 (Coro::State::throw) (testcase by sten).
56 - ->throw now puts threads into the ready queue, as this seems to
57 be expected by existing code, and code that doesn't cope with spurious
58 wakeups needs fixing anyway.
59 - use fd -1 in mmap.
60 - cast I32 to int in error message printf.
61 - warn about broken so-called "hardened" kernels.
62
636.08 Fri Apr 13 12:05:47 CEST 2012
64 - be more aggressive about exiting like perl does - formerly,
65 exiting from the non-main thread would not execute END blocks.
66
676.07 Fri Nov 11 21:21:48 CET 2011
68 - work around a bug in PerlIO (setting $SIG{__WARN__} to a PVCV).
69 - update ecb.h.
70
716.06 Mon Aug 8 23:59:48 CEST 2011
72 - cygwin unfortunately patches the stack at runtime, so we use the pthreads
73 backend, which is an order of magnitude slower. unfortunately, cygwins
74 pthread implementation isn't very complete either, so allocate the stack
75 twice just to be sure.
76 (note: cygwin also enables mymalloc, which is NOT THREADSAFE ON WINDOWS,
77 in its ithreaded perl - best recompile cygwin and use the 'w'indows
78 backend for much better performance. also disable ithreads for
79 even better performance...).
80
816.05 Thu Aug 4 21:36:36 CEST 2011
82 - blush, condvar values would not be propagated from send to recv anymore
83 (reported by Chip Salzenberg).
84 - use exponential increase for the readline buffer length in
85 Coro::Handle. also reduce initial allocation to 1020 from 4096 bytes.
86
876.04 Wed Aug 3 17:15:45 CEST 2011
88 - use even more efficient and more compatible condvars for
89 compatibility to AnyEvent 6.x :)
90 - more inconsequential ecb.h updates.
91
926.03 Wed Aug 3 11:41:30 CEST 2011
93 - change how Coro patches AnyEvent condvars for compatibility to
94 AnyEvent 6.x.
95 - update ecb.h, to no longer include <pthread.h> in case WinNT.h
96 hasn't been included.
97
986.02 Wed Jul 13 04:35:19 CEST 2011
99 - "improve portability to Gentoo" - gentoo manages to put perl variables
100 in memory areas that are farther than 2gb apart, which the jit couldn't
101 handle and barfed. now it's just a bit slower on gentoo and similar
102 systems.
103
1046.01 Sun Jul 3 12:31:14 CEST 2011
105 - workarounds are good, but the test for whether pthreads are used
106 was not good. thisone should be better.
107 - check differently whether gcc generates cfi instructions itself.
108
1096.0 Wed Jun 29 19:43:35 CEST 2011
110 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be
111 destroyed and cleaned up automatically (e.g. async { schedule }).
112 - implement a JIT compiler for part of the thread switch code,
113 which gives a 50% speed improvement on threaded perls, and
114 about 4% on non-thraeded perls (so threaded perls now finally
115 reach about half the speed of non-threaded perls).
116 - slightly modernise Coro::Intro, add section about rouse functions.
117 - avoid DEFSV and ERRSV, giving another 10% improvement
118 in thread switching.
119 - Coro::State->is_destroyed is now called is_zombie.
120 - implement a Coro->safe_cancel method that might fail, but
121 cancels in a "safer" way if it succeeds.
122 - add preliminary support for DEBUGGING perls.
123 - get rid of two hash-accesses when initialising a new Coro - this
124 speeds up coro creation by almost a factor of two.
125 - croak when a coro that is being cancelled tries to block
126 (e.g. while executing a guard block), instead of crashing or
127 deadlocking.
128 - use a more robust and also faster method to identify Coro::State
129 objects - speeds up everything a bit.
130 - implement Coro->cancel in XS for a 20% speed improvement, and to
131 be able to implement mutual cancellation.
132 - speed up context switches by a percent or two by more efficiently
133 allocating context stack entries.
134 - implement Coro->join and Coro->on_destroy in XS for a speedup and
135 a reduction in memory use.
136 - cancelling a coro while it itself is cancelling another coro is
137 now supported and working, instead of triggering an assertion.
138 - be a bit more crash-resistant when calling (buggy) on_destroy
139 callbacks (best effort).
140 - move on_destroy into the slf_frame, to allow extension slf
141 functions to have destructors.
142 - get rid if coro refcounting - simply crash in other interpreter
143 threads by nulling the pointers on clone.
144 - simplify warn/die hook handling when loading Coro - the convoluted
145 logic seems to be no longer neccessary.
146 - use libecb instead of our own home-grown gcc hacks.
147 - document alternatives to Coro::LWP. Please use them :)
148 - work around another mindless idiotic NEEDLESS bug in openbsd/mirbsds
149 sigaltstack. Really. wine suffers from it, erlang suffers from it,
150 and it's known since at least 2006.
151
1525.372 Wed Feb 23 06:14:30 CET 2011
153 - apparently mingw doesn't provide a working gettimeofday, try to
154 work around that by relying on Time::HiRes (indirectly brought to
155 my attention by Max Maischein).
156 - fix some portability issues when Time::HiRes was used.
157
1585.371 Mon Feb 21 14:36:08 CET 2011
159 - backport to windows process emulation code again.
6 160
75.37 Sat Feb 19 07:49:44 CET 2011 1615.37 Sat Feb 19 07:49:44 CET 2011
8 - add a big "Coro thread life cycle" section to "man Coro". 162 - add a big "Coro thread life cycle" section to "man Coro".
9 - try a tentative workaround against the breakage that 5.13 has 163 - try a tentative workaround against the breakage that 5.13 has
10 introduced without depreciation period. sigh. 164 introduced without depreciation period. sigh.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines