Commit graph

2 commits

Author SHA1 Message Date
sno
f9171a2cf1 Updating devel/p5-Async-Interrupt from 1.01 to 1.02
Upstream changes:
1.02  Tue Sep  1 18:41:09 CEST 2009
	- prototypes for sig2name/sig2num were missing.
2009-09-16 18:37:48 +00:00
sno
c85da2d8fa Importing package for perl5 module Async::Interrupt 1.01 as dependency
for devel/p5-AnyEvent.

This module implements a single feature only of interest to advanced perl
modules, namely asynchronous interruptions (think "UNIX signals", which are
very similar).

Sometimes, modules wish to run code asynchronously (in another thread, or
from a signal handler), and then signal the perl interpreter on certain
events. One common way is to write some data to a pipe and use an event
handling toolkit to watch for I/O events. Another way is to send a signal.
Those methods are slow, and in the case of a pipe, also not asynchronous -
it won't interrupt a running perl interpreter.

This module implements asynchronous notifications that enable you to signal
running perl code from another thread, asynchronously, and sometimes even
without using a single syscall.
2009-08-08 20:35:56 +00:00