Path to this page:
./
devel/p5-Async-Interrupt,
Allow C/XS libraries to interrupt perl asynchronously
Branch: pkgsrc-2022Q2,
Version: 1.26nb2,
Package name: p5-Async-Interrupt-1.26nb2,
Maintainer: pkgsrc-usersThis 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.
Master sites: (Expand)
Filesize: 31.382 KB
Version history: (Expand)
- (2022-06-30) Package added to pkgsrc.se, version p5-Async-Interrupt-1.26nb2 (created)