Fwd: Re: Coro benchmarks ?
Przemyslaw Iskra
sparky at pld-linux.org
Mon May 2 15:42:29 CEST 2011
On Mon, May 02, 2011 at 12:17:40AM +0200, Zsbán Ambrus wrote:
> Incidentally, when I tried to integrate libcurl with libev, I found
> that if I call the timer callback just when curl asks for it, it does
> not believe that the timeout has been reached already, and asks me to
> wait a little bit more, so the program gets into a busy loop for some
> microseconds. The only way I found around this is to schedule the
> timer half a millisecond later than curl asks. Have you seen this
> problem, and if so, how do you handle it in your module? I haven't
> looked at its source code yet.
I haven't seen such problem, but I didn't try to integrate it in C yet,
only through perl.
However I found some other problem with EV (4.03 here):
use EV;
bless \($global = 0), __PACKAGE__;
# called during global destruction
sub DESTROY { EV::timer 0, 0, sub {} }
This ends with a segfault.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0078c27 in XS_EV_timer (my_perl=<value optimized out>,
cv=<value optimized out>) at EV.xs:664
664 if (!ix) START (timer, RETVAL);
Best regards,
Przemysław Iskra.
--
____ sparky -- Przemyslaw ................ LANG...Pl,Ca,Es,En
/____) ___ ___ _ _ || Iskra : WWW . http://ppcrcd.pld-linux.org/
\____\| -_)'___| ||^'||//\\// : WWW2 ............ http://rsget.pl/
(____/|| (_-_|_|| ||\\ || : eMail ..... <sparky at pld-linux.org>
More information about the anyevent
mailing list