Date: Sun, 21 Apr 2019 19:06:45 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499559 - head/devel/p5-IO-AIO Message-ID: <201904211906.x3LJ6jXC009886@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Apr 21 19:06:44 2019 New Revision: 499559 URL: https://svnweb.freebsd.org/changeset/ports/499559 Log: Update to 4.7 - Update COMMENT - Update pkg-descr - Take maintainership Changes: https://metacpan.org/changes/distribution/IO-AIO Modified: head/devel/p5-IO-AIO/Makefile head/devel/p5-IO-AIO/distinfo head/devel/p5-IO-AIO/pkg-descr Modified: head/devel/p5-IO-AIO/Makefile ============================================================================== --- head/devel/p5-IO-AIO/Makefile Sun Apr 21 19:06:38 2019 (r499558) +++ head/devel/p5-IO-AIO/Makefile Sun Apr 21 19:06:44 2019 (r499559) @@ -2,14 +2,13 @@ # $FreeBSD$ PORTNAME= IO-AIO -PORTVERSION= 4.70 +PORTVERSION= 4.72 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -DISTNAME= ${PORTNAME}-${PORTVERSION:S|0$||} -MAINTAINER= perl@FreeBSD.org -COMMENT= Asynchronous Input/Output +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Asynchronous/Advanced Input/Output LICENSE= ART10 GPLv1+ LICENSE_COMB= dual Modified: head/devel/p5-IO-AIO/distinfo ============================================================================== --- head/devel/p5-IO-AIO/distinfo Sun Apr 21 19:06:38 2019 (r499558) +++ head/devel/p5-IO-AIO/distinfo Sun Apr 21 19:06:44 2019 (r499559) @@ -1,3 +1,3 @@ -TIMESTAMP = 1551888566 -SHA256 (IO-AIO-4.7.tar.gz) = 31501b7307d2b1646b2b6412b10065b028a0245534a6b14ed5c2399c160ea01c -SIZE (IO-AIO-4.7.tar.gz) = 172613 +TIMESTAMP = 1555856834 +SHA256 (IO-AIO-4.72.tar.gz) = 6e5b5e82c95f36d4e26d0745e1bddef0f0beb313b7dae296a668a9fb145e6e9f +SIZE (IO-AIO-4.72.tar.gz) = 176906 Modified: head/devel/p5-IO-AIO/pkg-descr ============================================================================== --- head/devel/p5-IO-AIO/pkg-descr Sun Apr 21 19:06:38 2019 (r499558) +++ head/devel/p5-IO-AIO/pkg-descr Sun Apr 21 19:06:44 2019 (r499559) @@ -1,21 +1,23 @@ -This module implements asynchronous I/O using whatever means your -operating system supports. +IO::AIO implements asynchronous I/O using whatever means your operating system +supports. It is implemented as an interface to libeio. -Asynchronous means that operations that can normally block your -program (e.g. reading from disk) will be done asynchronously: the -operation will still block, but you can do something else in the -meantime. This is extremely useful for programs that need to stay -interactive even when doing heavy I/O (GUI programs, high performance -network servers etc.), but can also be used to easily do operations in -parallel that are normally done sequentially, e.g. stat'ing many files, -which is much faster on a RAID volume or over NFS when you do a number -of stat operations concurrently. +Asynchronous means that operations that can normally block your program (e.g. +reading from disk) will be done asynchronously: the operation will still block, +but you can do something else in the meantime. This is extremely useful for +programs that need to stay interactive even when doing heavy I/O (GUI programs, +high performance network servers etc.), but can also be used to easily do +operations in parallel that are normally done sequentially, e.g. stat'ing many +files, which is much faster on a RAID volume or over NFS when you do a number of +stat operations concurrently. -While most of this works on all types of file descriptors (for example -sockets), using these functions on file descriptors that support -nonblocking operation (again, sockets, pipes etc.) is very inefficient -or might not work (aio_read fails on sockets/pipes/fifos). Use an -event loop for that (such as the Event module): IO::AIO will naturally -fit into such an event loop itself. +While most of this works on all types of file descriptors (for example sockets), +using these functions on file descriptors that support nonblocking operation +(again, sockets, pipes etc.) is very inefficient. Use an event loop for that +(such as the EV module): IO::AIO will naturally fit into such an event loop +itself. + +In addition to asynchronous I/O, this module also exports some rather arcane +interfaces, such as madvise or linux's splice system call, which is why the A in +AIO can also mean advanced. WWW: https://metacpan.org/release/IO-AIO
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904211906.x3LJ6jXC009886>