1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
2 | |
2 | |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
4 | TODO: channel->maxsize(newsize)? |
4 | TODO: channel->maxsize(newsize)? |
5 | TODO: http://www.microsoft.com/msj/archive/s2ce.aspx |
5 | TODO: http://www.microsoft.com/msj/archive/s2ce.aspx |
|
|
6 | TODO: __GCC_HAVE_DWARF2_CFI_ASM |
6 | |
7 | |
7 | TODO: tutorial |
8 | TODO: add peerhost/peerport from IO::Socket::INET etc. |
|
|
9 | |
|
|
10 | - use experimental fiber implementation on native windows |
|
|
11 | perls. |
|
|
12 | - use sizeof (void *) as multiplication factor for stack sizes, |
|
|
13 | to accomodate the totally braindamaged microsoft 64 bit "os". |
|
|
14 | - implement 5.17 compatibility by almost blindly applying a |
|
|
15 | good-looking patch by Father Chrysostomos. |
|
|
16 | - move stack management functions into libcoro 3. |
|
|
17 | - support magic values as timed_io_once args. |
|
|
18 | - recommend AnyEvent 7+ or EV 4+, also require EV |
|
|
19 | version 4 or newer for Coro::EV. |
|
|
20 | |
|
|
21 | 6.10 Tue Oct 9 01:14:27 CEST 2012 |
|
|
22 | - updated ecb.h, it had a typo that caused it to not compile on many |
|
|
23 | big endian systems (reported by many people). |
|
|
24 | - disable memory fences in ecb.h to improve portability. |
|
|
25 | |
|
|
26 | 6.09 Sat Oct 6 23:25:02 CEST 2012 |
|
|
27 | - Coro::EV I/O watchers were not interruptible by exceptions |
|
|
28 | (Coro::State::throw) (testcase by sten). |
|
|
29 | - ->throw now puts threads into the ready queue, as this seems to |
|
|
30 | be expected by existing code, and code that doesn't cope with spurious |
|
|
31 | wakeups needs fixing anyway. |
|
|
32 | - use fd -1 in mmap. |
|
|
33 | - cast I32 to int in error message printf. |
|
|
34 | - warn about broken so-called "hardened" kernels. |
|
|
35 | |
|
|
36 | 6.08 Fri Apr 13 12:05:47 CEST 2012 |
|
|
37 | - be more aggressive about exiting like perl does - formerly, |
|
|
38 | exiting from the non-main thread would not execute END blocks. |
|
|
39 | |
|
|
40 | 6.07 Fri Nov 11 21:21:48 CET 2011 |
|
|
41 | - work around a bug in PerlIO (setting $SIG{__WARN__} to a PVCV). |
|
|
42 | - update ecb.h. |
|
|
43 | |
|
|
44 | 6.06 Mon Aug 8 23:59:48 CEST 2011 |
|
|
45 | - cygwin unfortunately patches the stack at runtime, so we use the pthreads |
|
|
46 | backend, which is an order of magnitude slower. unfortunately, cygwins |
|
|
47 | pthread implementation isn't very complete either, so allocate the stack |
|
|
48 | twice just to be sure. |
|
|
49 | (note: cygwin also enables mymalloc, which is NOT THREADSAFE ON WINDOWS, |
|
|
50 | in its ithreaded perl - best recompile cygwin and use the 'w'indows |
|
|
51 | backend for much better performance. also disable ithreads for |
|
|
52 | even better performance...). |
|
|
53 | |
|
|
54 | 6.05 Thu Aug 4 21:36:36 CEST 2011 |
|
|
55 | - blush, condvar values would not be propagated from send to recv anymore |
|
|
56 | (reported by Chip Salzenberg). |
|
|
57 | - use exponential increase for the readline buffer length in |
|
|
58 | Coro::Handle. also reduce initial allocation to 1020 from 4096 bytes. |
|
|
59 | |
|
|
60 | 6.04 Wed Aug 3 17:15:45 CEST 2011 |
|
|
61 | - use even more efficient and more compatible condvars for |
|
|
62 | compatibility to AnyEvent 6.x :) |
|
|
63 | - more inconsequential ecb.h updates. |
|
|
64 | |
|
|
65 | 6.03 Wed Aug 3 11:41:30 CEST 2011 |
|
|
66 | - change how Coro patches AnyEvent condvars for compatibility to |
|
|
67 | AnyEvent 6.x. |
|
|
68 | - update ecb.h, to no longer include <pthread.h> in case WinNT.h |
|
|
69 | hasn't been included. |
|
|
70 | |
|
|
71 | 6.02 Wed Jul 13 04:35:19 CEST 2011 |
|
|
72 | - "improve portability to Gentoo" - gentoo manages to put perl variables |
|
|
73 | in memory areas that are farther than 2gb apart, which the jit couldn't |
|
|
74 | handle and barfed. now it's just a bit slower on gentoo and similar |
|
|
75 | systems. |
|
|
76 | |
|
|
77 | 6.01 Sun Jul 3 12:31:14 CEST 2011 |
|
|
78 | - workarounds are good, but the test for whether pthreads are used |
|
|
79 | was not good. thisone should be better. |
|
|
80 | - check differently whether gcc generates cfi instructions itself. |
|
|
81 | |
|
|
82 | 6.0 Wed Jun 29 19:43:35 CEST 2011 |
8 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
83 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
9 | destroyed and cleaned up automatically (e.g. async { schedule }). |
84 | destroyed and cleaned up automatically (e.g. async { schedule }). |
10 | - implement a JIT compiler for part of the thread switch code, |
85 | - implement a JIT compiler for part of the thread switch code, |
11 | which gives a 50% speed improvement on threaded perls, and |
86 | which gives a 50% speed improvement on threaded perls, and |
12 | about 4% on non-thraeded perls (so threaded perls now finally |
87 | about 4% on non-thraeded perls (so threaded perls now finally |