pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Async-Interrupt Importing package for perl5 m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0ffbc91882db
branches: trunk
changeset: 562946:0ffbc91882db
user: sno <sno%pkgsrc.org@localhost>
date: Sat Aug 08 20:35:56 2009 +0000
description:
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.
diffstat:
devel/p5-Async-Interrupt/DESCR | 14 ++++++++++++++
devel/p5-Async-Interrupt/Makefile | 20 ++++++++++++++++++++
devel/p5-Async-Interrupt/distinfo | 5 +++++
3 files changed, 39 insertions(+), 0 deletions(-)
diffs (51 lines):
diff -r 5eef3375d16b -r 0ffbc91882db devel/p5-Async-Interrupt/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Async-Interrupt/DESCR Sat Aug 08 20:35:56 2009 +0000
@@ -0,0 +1,14 @@
+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.
diff -r 5eef3375d16b -r 0ffbc91882db devel/p5-Async-Interrupt/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Async-Interrupt/Makefile Sat Aug 08 20:35:56 2009 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/08 20:35:56 sno Exp $
+#
+
+DISTNAME= Async-Interrupt-1.01
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/Async-Interrupt/
+COMMENT= Allow C/XS libraries to interrupt perl asynchronously
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense
+
+PKG_DESTDIR_SUPPORT= user-destdir
+PERL5_PACKLIST= auto/Async/Interrupt/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5eef3375d16b -r 0ffbc91882db devel/p5-Async-Interrupt/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Async-Interrupt/distinfo Sat Aug 08 20:35:56 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/08 20:35:56 sno Exp $
+
+SHA1 (Async-Interrupt-1.01.tar.gz) = 4bb8aaef396cd6c5edec03db1244544ab27408d2
+RMD160 (Async-Interrupt-1.01.tar.gz) = a40b48312f0ff6949e058990ef866599ac5b9f27
+Size (Async-Interrupt-1.01.tar.gz) = 24400 bytes
Home |
Main Index |
Thread Index |
Old Index