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

Comparing Coro/Changes (file contents):
Revision 1.566 by root, Mon May 16 22:08:24 2011 UTC vs.
Revision 1.591 by root, Sun May 27 16:36:05 2012 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: http://www.microsoft.com/msj/archive/s2ce.aspx 5TODO: http://www.microsoft.com/msj/archive/s2ce.aspx
6TODO: __GCC_HAVE_DWARF2_CFI_ASM
6 7
7TODO: tutorial 8 - use fd = -1 in mmap.
9
106.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
146.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
186.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
286.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
346.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
396.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
456.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
516.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
566.0 Wed Jun 29 19:43:35 CEST 2011
8 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be 57 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be
9 destroyed and cleaned up automatically (e.g. async { schedule }). 58 destroyed and cleaned up automatically (e.g. async { schedule }).
59 - implement a JIT compiler for part of the thread switch code,
60 which gives a 50% speed improvement on threaded perls, and
61 about 4% on non-thraeded perls (so threaded perls now finally
62 reach about half the speed of non-threaded perls).
63 - slightly modernise Coro::Intro, add section about rouse functions.
64 - avoid DEFSV and ERRSV, giving another 10% improvement
65 in thread switching.
10 - Coro::State->is_destroyed is now called is_zombie. 66 - Coro::State->is_destroyed is now called is_zombie.
11 - implement a Coro->safe_cancel method that might fail, but 67 - implement a Coro->safe_cancel method that might fail, but
12 cancels in a "safer" way if it succeeds. 68 cancels in a "safer" way if it succeeds.
69 - add preliminary support for DEBUGGING perls.
13 - 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
14 speeds up coro creation by almost a factor of two. 71 speeds up coro creation by almost a factor of two.
15 - croak when a coro that is being cancelled tries to block 72 - croak when a coro that is being cancelled tries to block
16 (e.g. while executing a guard block), instead of crashing or 73 (e.g. while executing a guard block), instead of crashing or
17 deadlocking. 74 deadlocking.
31 functions to have destructors. 88 functions to have destructors.
32 - get rid if coro refcounting - simply crash in other interpreter 89 - get rid if coro refcounting - simply crash in other interpreter
33 threads by nulling the pointers on clone. 90 threads by nulling the pointers on clone.
34 - simplify warn/die hook handling when loading Coro - the convoluted 91 - simplify warn/die hook handling when loading Coro - the convoluted
35 logic seems to be no longer neccessary. 92 logic seems to be no longer neccessary.
93 - use libecb instead of our own home-grown gcc hacks.
94 - document alternatives to Coro::LWP. Please use them :)
95 - work around another mindless idiotic NEEDLESS bug in openbsd/mirbsds
96 sigaltstack. Really. wine suffers from it, erlang suffers from it,
97 and it's known since at least 2006.
36 98
375.372 Wed Feb 23 06:14:30 CET 2011 995.372 Wed Feb 23 06:14:30 CET 2011
38 - apparently mingw doesn't provide a working gettimeofday, try to 100 - apparently mingw doesn't provide a working gettimeofday, try to
39 work around that by relying on Time::HiRes (indirectly brought to 101 work around that by relying on Time::HiRes (indirectly brought to
40 my attention by Max Maischein). 102 my attention by Max Maischein).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines