Do I need Async::Interrupt ?

Zsbán Ambrus ambrus at math.bme.hu
Sat Mar 10 22:04:00 CET 2012


On 3/10/12, Marc Lehmann <schmorp at schmorp.de> wrote:
>> It would be nice if you added a statement to this effect to the
>> documentation as well, either in the AnyEvent::Loop doc or the AnyEvent
>> doc section about signal races.
>
> Hmm, what exactly? AnyEvent already mentions that you can install
> Async::Interrupt to avoid these problems, and that without it, perl-based
> event loops will be racy.

Maybe you don't need to change anything.  In the AnyEvent
documentation, AnyEvent::Loop is already mentioned under
PERL_ANYEVENT_MAX_SIGNAL_LATENCY. I have not read that section
carefully, because I expected to find this information under either
the section "Signal Races, Delays and Workarounds", or in the
AnyEvent::Loop docs.

Btw, you have a typo in the Signal Races section: "Ö<ENVIRONMENT
VARIABLES>" should instead be "L<ENVIRONMENT VARIABLES>"

Ambrus



More information about the anyevent mailing list