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 | - use fd = -1 in mmap. |
8 | TODO: in_eval, PL_tained |
9 | |
|
|
10 | 6.08 Fri Apr 13 12:05:47 CEST 2012 |
|
|
11 | - be more aggressive about exiting like perl does - formerly, |
|
|
12 | exiting from the non-main thread would not execute END blocks. |
|
|
13 | |
|
|
14 | 6.07 Fri Nov 11 21:21:48 CET 2011 |
|
|
15 | - work around a bug in PerlIO (setting $SIG{__WARN__} to a PVCV). |
|
|
16 | - update ecb.h. |
|
|
17 | |
|
|
18 | 6.06 Mon Aug 8 23:59:48 CEST 2011 |
|
|
19 | - cygwin unfortunately patches the stack at runtime, so we use the pthreads |
|
|
20 | backend, which is an order of magnitude slower. unfortunately, cygwins |
|
|
21 | pthread implementation isn't very complete either, so allocate the stack |
|
|
22 | twice just to be sure. |
|
|
23 | (note: cygwin also enables mymalloc, which is NOT THREADSAFE ON WINDOWS, |
|
|
24 | in its ithreaded perl - best recompile cygwin and use the 'w'indows |
|
|
25 | backend for much better performance. also disable ithreads for |
|
|
26 | even better performance...). |
|
|
27 | |
|
|
28 | 6.05 Thu Aug 4 21:36:36 CEST 2011 |
|
|
29 | - blush, condvar values would not be propagated from send to recv anymore |
|
|
30 | (reported by Chip Salzenberg). |
|
|
31 | - use exponential increase for the readline buffer length in |
|
|
32 | Coro::Handle. also reduce initial allocation to 1020 from 4096 bytes. |
|
|
33 | |
|
|
34 | 6.04 Wed Aug 3 17:15:45 CEST 2011 |
|
|
35 | - use even more efficient and more compatible condvars for |
|
|
36 | compatibility to AnyEvent 6.x :) |
|
|
37 | - more inconsequential ecb.h updates. |
|
|
38 | |
|
|
39 | 6.03 Wed Aug 3 11:41:30 CEST 2011 |
|
|
40 | - change how Coro patches AnyEvent condvars for compatibility to |
|
|
41 | AnyEvent 6.x. |
|
|
42 | - update ecb.h, to no longer include <pthread.h> in case WinNT.h |
|
|
43 | hasn't been included. |
|
|
44 | |
|
|
45 | 6.02 Wed Jul 13 04:35:19 CEST 2011 |
|
|
46 | - "improve portability to Gentoo" - gentoo manages to put perl variables |
|
|
47 | in memory areas that are farther than 2gb apart, which the jit couldn't |
|
|
48 | handle and barfed. now it's just a bit slower on gentoo and similar |
|
|
49 | systems. |
|
|
50 | |
|
|
51 | 6.01 Sun Jul 3 12:31:14 CEST 2011 |
|
|
52 | - workarounds are good, but the test for whether pthreads are used |
|
|
53 | was not good. thisone should be better. |
|
|
54 | - check differently whether gcc generates cfi instructions itself. |
|
|
55 | |
|
|
56 | 6.0 Wed Jun 29 19:43:35 CEST 2011 |
9 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
57 | - INCOMPATIBLE CHANGE: unreferenced coro objects will now be |
10 | destroyed and cleaned up automatically (e.g. async { schedule }). |
58 | destroyed and cleaned up automatically (e.g. async { schedule }). |
11 | - implement a JIT compiler for part of the thread switch code, |
59 | - implement a JIT compiler for part of the thread switch code, |
12 | which gives a 50% speed improvement on threaded perls, and |
60 | which gives a 50% speed improvement on threaded perls, and |
13 | about 4% on non-thraeded perls (so threaded perls now finally |
61 | about 4% on non-thraeded perls (so threaded perls now finally |
14 | reach about half the speed of non-threaded perls). |
62 | reach about half the speed of non-threaded perls). |
|
|
63 | - slightly modernise Coro::Intro, add section about rouse functions. |
15 | - avoid DEFSV and ERRSV, giving another 10% improvement |
64 | - avoid DEFSV and ERRSV, giving another 10% improvement |
16 | in thread switching. |
65 | in thread switching. |
17 | - Coro::State->is_destroyed is now called is_zombie. |
66 | - Coro::State->is_destroyed is now called is_zombie. |
18 | - implement a Coro->safe_cancel method that might fail, but |
67 | - implement a Coro->safe_cancel method that might fail, but |
19 | cancels in a "safer" way if it succeeds. |
68 | cancels in a "safer" way if it succeeds. |
|
|
69 | - add preliminary support for DEBUGGING perls. |
20 | - get rid of two hash-accesses when initialising a new Coro - this |
70 | - get rid of two hash-accesses when initialising a new Coro - this |
21 | speeds up coro creation by almost a factor of two. |
71 | speeds up coro creation by almost a factor of two. |
22 | - croak when a coro that is being cancelled tries to block |
72 | - croak when a coro that is being cancelled tries to block |
23 | (e.g. while executing a guard block), instead of crashing or |
73 | (e.g. while executing a guard block), instead of crashing or |
24 | deadlocking. |
74 | deadlocking. |
… | |
… | |
41 | - simplify warn/die hook handling when loading Coro - the convoluted |
91 | - simplify warn/die hook handling when loading Coro - the convoluted |
42 | logic seems to be no longer neccessary. |
92 | logic seems to be no longer neccessary. |
43 | - use libecb instead of our own home-grown gcc hacks. |
93 | - use libecb instead of our own home-grown gcc hacks. |
44 | - document alternatives to Coro::LWP. Please use them :) |
94 | - document alternatives to Coro::LWP. Please use them :) |
45 | - work around another mindless idiotic NEEDLESS bug in openbsd/mirbsds |
95 | - work around another mindless idiotic NEEDLESS bug in openbsd/mirbsds |
46 | sigaltstack. |
96 | sigaltstack. Really. wine suffers from it, erlang suffers from it, |
|
|
97 | and it's known since at least 2006. |
47 | |
98 | |
48 | 5.372 Wed Feb 23 06:14:30 CET 2011 |
99 | 5.372 Wed Feb 23 06:14:30 CET 2011 |
49 | - apparently mingw doesn't provide a working gettimeofday, try to |
100 | - apparently mingw doesn't provide a working gettimeofday, try to |
50 | work around that by relying on Time::HiRes (indirectly brought to |
101 | work around that by relying on Time::HiRes (indirectly brought to |
51 | my attention by Max Maischein). |
102 | my attention by Max Maischein). |