update Thu Apr 29 00:37:00 PDT 2010
[pkgsrc.git] / devel / p5-Async-Interrupt / DESCR
1 This module implements a single feature only of interest to advanced perl
2 modules, namely asynchronous interruptions (think "UNIX signals", which are
3 very similar).
4
5 Sometimes, modules wish to run code asynchronously (in another thread, or
6 from a signal handler), and then signal the perl interpreter on certain
7 events. One common way is to write some data to a pipe and use an event
8 handling toolkit to watch for I/O events. Another way is to send a signal.
9 Those methods are slow, and in the case of a pipe, also not asynchronous -
10 it won't interrupt a running perl interpreter.
11
12 This module implements asynchronous notifications that enable you to signal
13 running perl code from another thread, asynchronously, and sometimes even
14 without using a single syscall.