devel/p5-Async-Interrupt 1.26nb7 NetBSD
Allow C/XS libraries to interrupt perl asynchronously
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel
- Package size
- 24.5 KiB, 83.1 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Async-Interrupt | 1.26nb7 |
| FreeBSD | devel/p5-Async-Interrupt | 1.26 |
| DragonFly | devel/p5-Async-Interrupt | 1.26 |
| HardenedBSD | devel/p5-Async-Interrupt | 1.26 |
| GhostBSD | devel/p5-Async-Interrupt | 1.26 |
Install
Binary package:
pkgin install p5-Async-Interrupt
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Async-Interrupt && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.26nb7 |
| NetBSD 10.1 aarch64 | 1.26nb6 |
| SmartOS / illumos x86_64 | 1.26nb7 |
| macOS 15 arm64 | 1.26nb7 |