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

Comparing Coro/Changes (file contents):
Revision 1.619 by root, Tue Nov 5 14:38:46 2013 UTC vs.
Revision 1.686 by root, Mon Mar 16 11:12:52 2020 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: __GCC_HAVE_DWARF2_CFI_ASM 5TODO: __GCC_HAVE_DWARF2_CFI_ASM
6TODO: swap_sv, maybe add scope_swap_sv, andallow to unswap by repeat? 6TODO: swap_sv, maybe add scope_swap_sv?
7TODO: swap_sv not undone in pool 7TODO: croak when async_pool tries to run canceled thread?
8TODO: how to debug safe_cancel failure (vebrose mode? show how to make backtrace?)
9TODO: scalar context for Coro::AIO wrappers?
10
11TODO: State.xs could short-circuit some macros such as CORO_EXECUTE_SLF
12TODO: use frame->destroy to improve Coro::EV
136.57
14 - allow rouse_wait to be called in a different thread.
15 - slightly clarify rouse_cb/rouse_wait documentation.
16 - slightly improve rouse callback performance and memory usage.
17
186.56 Thu Feb 20 19:40:07 CET 2020
19 - Coro::EV::time*once functions used ev_once, which is not cancelable.
20 This could cause problems due to I/O watchers not being stopped up
21 on exceptions/cancellation.
22
236.55 Fri Jul 19 17:28:09 CEST 2019
24 - Coro::RWLock woke up only one reader instead of all after a wrlock
25 (analyzed and patch by Maxim Skorobogatov).
26 - slightly improved documentation of Coro::RWLock and RWLock testcase.
27 - quickly (re)-ported to minix 3.3 before minix crashed again.
28
296.54 Sun Dec 16 11:06:07 CET 2018
30 - reinstate Coro::Select::select prototype - it breaks more than it fixes.
31
326.53 Sun Dec 16 10:33:15 CET 2018
33 - the autogenerated prototypes of Coro::AIO now add ";" at the end
34 to avoid generating named unary operators and messing up parsing
35 (mostly affects aio_mlockall 4 | 8 which was parsed as
36 (aio_mlockall 4) | 8).
37 - do not use a prototype for select in Coro::Select, as CORE::select also
38 doesn't have one.
39
406.52 Tue Aug 14 18:49:43 CEST 2018
41 - libcoro update: allow sharing of coro threads using the pthreads
42 backend among different pthreads, as is required by Coro::Multicore.
43 - always allow ->call and ->eval when the coro is the current coroutine. this
44 makes it possible, among other things, to call these on $Coro::main.
45 - minor code cleanups.
46
476.514 Thu Aug 31 18:25:31 CEST 2017
48 - safe_cancel no longer croaks when called on already-destroyed
49 thread, but instead "just works".
50
516.513 Sat Jul 15 01:18:51 CEST 2017
52 - experimental 5.22 comaptibility changes (PadlistNAMES).
53 - removed attributes example and made sure the other examples
54 still work.
55 - fix some statevar types for newer perls, should be of no consequence.
56
576.512 Fri Jul 14 05:03:17 CEST 2017
58 - seems to pass test suite down till 5.8.9, so make this the
59 minimum requirement in Makefile.PL.
60 - experimental 5.24 compatibility changes (SUB_ARGARRAY).
61 - experimental 5.26 compatibility changes (PL_comppad -> PADOFFSET).
62 - disable FORTIFY_SOURCE to avoid broken (but well-intentioned)
63 fortified longjmp variants in some libcs.
64 - re-try JIT allocation without PROT_EXEC, to hopefully improve
65 portability (still doesn't seem to work around broken selinux
66 mmap everywhere).
67 - speling fixes (Xavier Guimard).
68
696.511 Sun Jun 26 23:44:50 CEST 2016
70 - make it compile with threaded perls again.
71 - simplify and speed up __DIE__ and __WARN__ handling.
72
736.51 Sat Jun 25 20:57:20 CEST 2016
74 - 6.5 release didn't compile on most older perls due to
75 a logic error enabling experimental 5.24 code for all versions.
76 - since various broken or deficient patches float around
77 to work around the vtbl API breakage in perl, let's provide
78 our own workaround, which seems to be much less invasive
79 and more compatible than the approaches seen so far. YMMV.
80 - work around assertion failure in perl_destruct on 5.24
81 (analyzed by Dave Mitchell).
82
836.5 Wed Jun 22 22:23:50 CEST 2016
84 - swap_sv swapping order was not symmetrical, causing
85 wrong swaps when swap_sv was used multiple times on the
86 same sv in the same thread.
87 - swap_sv calls can now be undone by calling it again
88 with the same variables.
89 - swap_sv calls will now be undone in async_pool threads.
90 - split Coro::Semaphore::up/adjust into separate xs functions
91 for better error reporting, at slight codesize increase.
92 - (libcoro) arm assembly support, please test and report.
93 - adjust to PL_savestack changes in perl 5.24 (adapted from
94 the debian patch, which unfortunately gets it wrong).
95
966.49 Sat Oct 17 01:40:12 CEST 2015
97 - throwing an exception to a thread waiting in
98 Coro::Handle using Coro::EV did not stop the watchers,
99 causing the next call to fail (testcase by Martin Pritchard).
100 - bump minimum perl version to 5.10.
101
1026.48 Sun Oct 4 19:03:51 CEST 2015
103 - fix memory leak when Coro::Handle uses Coro::EV internally
104 (testcase by Sten Sten).
105 - update code to libev 4 API (internally, Coro still used the
106 version 3 API calls).
107 - remove unused hv_sig.
108
1096.47 Sat Jul 11 03:58:20 CEST 2015
110 - swap_svs - NVs can be in the SV head beginning with 5.20.
111
1126.46 Tue Jun 30 14:36:30 CEST 2015
113 - restore portability to perls with windows fork emulation
114 (patch by Petr Písař).
115
1166.45 Tue Jun 30 01:40:08 CEST 2015
117 - restore portability to perl 5.16 and below.
118
1196.44 Tue Jun 30 00:41:54 CEST 2015
120 - avoid segfaulting (or worse) when tracing a canceled thread.
121 - the Event module silently broke it's public hook API, causing
122 failures on perls compiled with -Duselongdouble. Requiring
123 the latest version of Event because I don't know which release
124 changed this (it's not mentioned in the ChangeLog).
125 - allow xs level enterleave hooks via CoroAPI.
126
1276.43 Thu Jun 4 15:38:14 CEST 2015
128 - use stability canary.
129 - port to stableperl-5.22.0-1.001.
130 - update libecb.
131
1326.42 Wed Feb 11 20:29:52 CET 2015
133 - Coro::SemaphoreSet->try did not actually work (analyzed by
134 SATO Kentaro).
135 - upgrade libecb to be C11 compliant.
136
1376.41 Sat Sep 6 22:08:46 CEST 2014
138 - restore portability to perl 5.8.x.
139 - give new Coro's a valid GvHV(PL_hintgv) - this is slow and takes
140 up some memory, but fixes "use feature" and similar modules
141 when used inside a Coro.
142 - allow zero as argument to Coro::Channel to mean the same thing
143 as no argument. this works with older versions as well,
144 but wasn't legal until now.
145 - slightly better c header file detection.
146
1476.39 Mon Jun 2 00:00:08 CEST 2014
148 - work around more incompatible changes in 5.20.
149
1506.38 Sun Jun 1 21:54:23 CEST 2014
151 - check that perl slots actually have enough space to hold
152 interpreter variables.
153 - untested port to perl 5.19 (64 bit tmps indices) (reported
154 by Andreas König).
155 - croak when cancel is called without a thread context.
156
1576.37 Tue Mar 4 13:27:33 CET 2014
158 - *sigh*, removed leftover debugging code from debugging a
159 perl bug, of all things.
160
1616.36 Tue Mar 4 07:11:59 CET 2014
162 - semaphores would not clear the destroy hook when interrupted
163 by ->throw, causing segfaults or worse.
164 - ->throw on a thread waiting for a semaphore did not acquire
165 the semaphore, but also didn't wake up other waiters,
166 possibly causing a deadlock.
167 - "FATAL: $Coro::IDLE blocked itself" will now use Carp::confess
168 to report a full stacktrace, which should help find out
169 where the actual call is.
170 - "atomically" destroy data in slf_destroy, because it is
171 the right thing to do, just in case.
172 - disable ecb.h libm dependency, to compile on ancient systems
173 or under adverse conditions.
174
1756.33 Mon Nov 18 11:26:27 CET 2013
176 - do not crash when freeing padlists with holes (in 5.18).
177 - tentative SVt_BIND 5.19 port/fix.
8 178
96.32 Tue Nov 5 15:35:35 CET 2013 1796.32 Tue Nov 5 15:35:35 CET 2013
10 - use a new algorithm to derive padlists for perl 5.18. The old 180 - use a new algorithm to derive padlists for perl 5.18. The old
11 one could lead to 0-pointer accesses inside perl (reported 181 one could lead to 0-pointer accesses inside perl (reported
12 by Darin McBride). 182 by Darin McBride).
108 handle and barfed. now it's just a bit slower on gentoo and similar 278 handle and barfed. now it's just a bit slower on gentoo and similar
109 systems. 279 systems.
110 280
1116.01 Sun Jul 3 12:31:14 CEST 2011 2816.01 Sun Jul 3 12:31:14 CEST 2011
112 - workarounds are good, but the test for whether pthreads are used 282 - workarounds are good, but the test for whether pthreads are used
113 was not good. thisone should be better. 283 was not good. this one should be better.
114 - check differently whether gcc generates cfi instructions itself. 284 - check differently whether gcc generates cfi instructions itself.
115 285
1166.0 Wed Jun 29 19:43:35 CEST 2011 2866.0 Wed Jun 29 19:43:35 CEST 2011
117 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be 287 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be
118 destroyed and cleaned up automatically (e.g. async { schedule }). 288 destroyed and cleaned up automatically (e.g. async { schedule }).
119 - implement a JIT compiler for part of the thread switch code, 289 - implement a JIT compiler for part of the thread switch code,
120 which gives a 50% speed improvement on threaded perls, and 290 which gives a 50% speed improvement on threaded perls, and
121 about 4% on non-thraeded perls (so threaded perls now finally 291 about 4% on non-threaded perls (so threaded perls now finally
122 reach about half the speed of non-threaded perls). 292 reach about half the speed of non-threaded perls).
123 - slightly modernise Coro::Intro, add section about rouse functions. 293 - slightly modernise Coro::Intro, add section about rouse functions.
124 - avoid DEFSV and ERRSV, giving another 10% improvement 294 - avoid DEFSV and ERRSV, giving another 10% improvement
125 in thread switching. 295 in thread switching.
126 - Coro::State->is_destroyed is now called is_zombie. 296 - Coro::State->is_destroyed is now called is_zombie.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines