--- Coro/Changes 2011/06/28 22:18:57 1.571 +++ Coro/Changes 2013/02/08 22:29:18 1.612 @@ -2,21 +2,111 @@ TODO: should explore PerlIO::coroaio (perl leaks like hell). TODO: channel->maxsize(newsize)? -TODO: http://www.microsoft.com/msj/archive/s2ce.aspx +TODO: __GCC_HAVE_DWARF2_CFI_ASM -TODO: tutorial -TODO: in_eval, PL_tained + - improved Coro::State documentation a bit. + - Coro::Debug::command now flushes the output. + - add hack detection code for x32 abi, because the braindead slugs + who designed that made it look exactly like x86_64 without + providing proper compile time symbols to test for it. as a result, + this detection cannot work reliably. + - valgrind stack registering was broken. + - do not rely on Time::HiRes anymore in Coro::Debug. + +6.23 Fri Dec 7 23:36:37 CET 2012 + - use experimental fiber implementation on native windows + perls. + - use sizeof (void *) as multiplication factor for stack sizes, + to accomodate the totally braindamaged microsoft 64 bit "os". + - changed verifier host from win2k-ap510-32 to win7-sp516-32/64. + activeperl 5.16 crashes when PerlIO_define_layer is called due + to some bug in the perl dll, strawberry perl at least passes + the testsuite. + - implement Coro::Handle->peeraddr/host/port, for slightly + improved compatibility with LWP. + - implement 5.17 compatibility by almost blindly applying a + good-looking patch by Father Chrysostomos. + - move stack management functions into libcoro 3. + - libcoro version 3 "released". + - support magic values as timed_io_once args. + - recommend AnyEvent 7+ or EV 4+, also require EV + version 4 or newer for Coro::EV. + +6.10 Tue Oct 9 01:14:27 CEST 2012 + - updated ecb.h, it had a typo that caused it to not compile on many + big endian systems (reported by many people). + - disable memory fences in ecb.h to improve portability. + +6.09 Sat Oct 6 23:25:02 CEST 2012 + - Coro::EV I/O watchers were not interruptible by exceptions + (Coro::State::throw) (testcase by sten). + - ->throw now puts threads into the ready queue, as this seems to + be expected by existing code, and code that doesn't cope with spurious + wakeups needs fixing anyway. + - use fd -1 in mmap. + - cast I32 to int in error message printf. + - warn about broken so-called "hardened" kernels. + +6.08 Fri Apr 13 12:05:47 CEST 2012 + - be more aggressive about exiting like perl does - formerly, + exiting from the non-main thread would not execute END blocks. + +6.07 Fri Nov 11 21:21:48 CET 2011 + - work around a bug in PerlIO (setting $SIG{__WARN__} to a PVCV). + - update ecb.h. + +6.06 Mon Aug 8 23:59:48 CEST 2011 + - cygwin unfortunately patches the stack at runtime, so we use the pthreads + backend, which is an order of magnitude slower. unfortunately, cygwins + pthread implementation isn't very complete either, so allocate the stack + twice just to be sure. + (note: cygwin also enables mymalloc, which is NOT THREADSAFE ON WINDOWS, + in its ithreaded perl - best recompile cygwin and use the 'w'indows + backend for much better performance. also disable ithreads for + even better performance...). + +6.05 Thu Aug 4 21:36:36 CEST 2011 + - blush, condvar values would not be propagated from send to recv anymore + (reported by Chip Salzenberg). + - use exponential increase for the readline buffer length in + Coro::Handle. also reduce initial allocation to 1020 from 4096 bytes. + +6.04 Wed Aug 3 17:15:45 CEST 2011 + - use even more efficient and more compatible condvars for + compatibility to AnyEvent 6.x :) + - more inconsequential ecb.h updates. + +6.03 Wed Aug 3 11:41:30 CEST 2011 + - change how Coro patches AnyEvent condvars for compatibility to + AnyEvent 6.x. + - update ecb.h, to no longer include in case WinNT.h + hasn't been included. + +6.02 Wed Jul 13 04:35:19 CEST 2011 + - "improve portability to Gentoo" - gentoo manages to put perl variables + in memory areas that are farther than 2gb apart, which the jit couldn't + handle and barfed. now it's just a bit slower on gentoo and similar + systems. + +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. + - check differently whether gcc generates cfi instructions itself. + +6.0 Wed Jun 29 19:43:35 CEST 2011 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be 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 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 in thread switching. - Coro::State->is_destroyed is now called is_zombie. - implement a Coro->safe_cancel method that might fail, but cancels in a "safer" way if it succeeds. + - add preliminary support for DEBUGGING perls. - get rid of two hash-accesses when initialising a new Coro - this speeds up coro creation by almost a factor of two. - croak when a coro that is being cancelled tries to block @@ -43,7 +133,8 @@ - use libecb instead of our own home-grown gcc hacks. - document alternatives to Coro::LWP. Please use them :) - work around another mindless idiotic NEEDLESS bug in openbsd/mirbsds - sigaltstack. + sigaltstack. Really. wine suffers from it, erlang suffers from it, + and it's known since at least 2006. 5.372 Wed Feb 23 06:14:30 CET 2011 - apparently mingw doesn't provide a working gettimeofday, try to