--- Coro/Changes 2014/03/06 06:40:31 1.628 +++ Coro/Changes 2016/06/25 19:22:33 1.661 @@ -3,9 +3,93 @@ TODO: should explore PerlIO::coroaio (perl leaks like hell). TODO: channel->maxsize(newsize)? TODO: __GCC_HAVE_DWARF2_CFI_ASM -TODO: swap_sv, maybe add scope_swap_sv, andallow to unswap by repeat? -TODO: swap_sv not undone in pool +TODO: swap_sv, maybe add scope_swap_sv? +TODO: croak when async_pool tries to run canceled thread? + - simplify and speed up __DIE__ and __WARN__ handling. + +6.51 Sat Jun 25 20:57:20 CEST 2016 + - 6.5 release didn't compile on most older perls due to + a logic error enabling experimental 5.24 code for all versions. + - since various broken or deficient patches float around + to work around the vtbl API breakage in perl, let's provide + our own workaround, which seems to be much less invasive + and more compatible than the approaches seen so far. YMMV. + - work around assertion failure in perl_destruct on 5.24 + (analyzed by Dave Mitchell). + +6.5 Wed Jun 22 22:23:50 CEST 2016 + - swap_sv swapping order was not symmetrical, causing + wrong swaps when swap_sv was used multiple times on the + same sv in the same thread. + - swap_sv calls can now be undone by calling it again + with the same variables. + - swap_sv calls will now be undone in async_pool threads. + - split Coro::Semaphore::up/adjust into separate xs functions + for better error reporting, at slight codesize increase. + - (libcoro) arm assembly support, please test and report. + - adjust to PL_savestack changes in perl 5.24 (adapted from + the debian patch, which unfortunately gets it wrong). + +6.49 Sat Oct 17 01:40:12 CEST 2015 + - throwing an exception to a thread waiting in + Coro::Handle using Coro::EV did not stop the watchers, + causing the next call to fail (testcase by Martin Pritchard). + - bump minimum perl version to 5.10. + +6.48 Sun Oct 4 19:03:51 CEST 2015 + - fix memory leak when Coro::Handle uses Coro::EV internally + (testcase by Sten Sten). + - update code to libev 4 API (internally, Coro still used the + version 3 API calls). + - remove unused hv_sig. + +6.47 Sat Jul 11 03:58:20 CEST 2015 + - swap_svs - NVs can be in the SV head beginning with 5.20. + +6.46 Tue Jun 30 14:36:30 CEST 2015 + - restore portability to perls with windows fork emulation + (patch by Petr Písař). + +6.45 Tue Jun 30 01:40:08 CEST 2015 + - restore portability to perl 5.16 and below. + +6.44 Tue Jun 30 00:41:54 CEST 2015 + - avoid segfaulting (or worse) when tracing a canceled thread. + - the Event module silently broke it's public hook API, causing + failures on perls compiled with -Duselongdouble. Requiring + the latest version of Event because I don't know which release + changed this (it's not mentioned in the ChangeLog). + - allow xs level enterleave hooks via CoroAPI. + +6.43 Thu Jun 4 15:38:14 CEST 2015 + - use stability canary. + - port to stableperl-5.22.0-1.001. + - update libecb. + +6.42 Wed Feb 11 20:29:52 CET 2015 + - Coro::SemaphoreSet->try did not actually work (analyzed by + SATO Kentaro). + - upgrade libecb to be C11 compliant. + +6.41 Sat Sep 6 22:08:46 CEST 2014 + - restore portability to perl 5.8.x. + - give new Coro's a valid GvHV(PL_hintgv) - this is slow and takes + up some memory, but fixes "use feature" and similar modules + when used inside a Coro. + - allow zero as argument to Coro::Channel to mean the same thing + as no argument. this works with older versions as well, + but wasn't legal until now. + - slightly better c header file detection. + +6.39 Mon Jun 2 00:00:08 CEST 2014 + - work around more incompatible changes in 5.20. + +6.38 Sun Jun 1 21:54:23 CEST 2014 + - check that perl slots actually have enough space to hold + interpreter variables. + - untested port to perl 5.19 (64 bit tmps indices) (reported + by Andreas König). - croak when cancel is called without a thread context. 6.37 Tue Mar 4 13:27:33 CET 2014 @@ -134,7 +218,7 @@ 6.01 Sun Jul 3 12:31:14 CEST 2011 - workarounds are good, but the test for whether pthreads are used - was not good. thisone should be better. + was not good. this one should be better. - check differently whether gcc generates cfi instructions itself. 6.0 Wed Jun 29 19:43:35 CEST 2011 @@ -142,7 +226,7 @@ destroyed and cleaned up automatically (e.g. async { schedule }). - implement a JIT compiler for part of the thread switch code, which gives a 50% speed improvement on threaded perls, and - about 4% on non-thraeded perls (so threaded perls now finally + about 4% on non-threaded perls (so threaded perls now finally reach about half the speed of non-threaded perls). - slightly modernise Coro::Intro, add section about rouse functions. - avoid DEFSV and ERRSV, giving another 10% improvement