perl-AnyEvent-FDpasser-0.3.0-alt6.1.x86_64.rpm


Advertisement

Description

perl-AnyEvent-FDpasser - pass file descriptors between processes using non-blocking buffers

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-AnyEvent-FDpasser-0.3.0-alt6.1.x86_64.rpm
Package name perl-AnyEvent-FDpasser
Package version 0.3.0
Package release alt6.1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 75.23 KB
Installed size 75.23 KB
This module provides an object oriented interface for passing filehandles between processes. Its primary goals are API simplicity, portability, and reliability. It is suitable for use in non-blocking programs where blocking in even exceptional circumstances is undesirable. Finally, this module should be efficient enough for nearly all use-cases.
This module currently works on BSD4.4-like systems (*BSD, Linux, Mac OS X) where it uses the `SCM_RIGHTS' ancillary data feature over `AF_UNIX' sockets, on BSD4.3-like systems (Solaris, IRIX?) where it uses `msg_accrights' field of `msghdr' over `AF_UNIX' sockets, and on SysV-like systems (Solaris, HP-UX, AIX?) where it uses the `ioctl(I_SENDFD/I_RECVFD)' feature of STREAMS pipes.
Note that a passer object is "bidrectional" and you can use the same object to both send and receive filehandles (each side has a separate input and output buffer).
After sending a filehandle, the sending process will automatically destroy it and you shouldn't close it yourself. Forgetting all references to it is what you should do so that the underlying descriptor is actually closed after it is sent. The exception to this is when you also wish to keep the handle in the sender. Usually you will only do this for sockets that you `accept()' from.
=over 4
=item my $passer = AnyEvent::FDpasser->new([ fh => <handle(s)>,][ dont_set_nonblocking => 1,][ on_error => $cb->(),])
my $passer = AnyEvent::FDpasser->new;
my $passer = AnyEvent::FDpasser->new( fh => [ AnyEvent::FDpasser::fdpasser_socketpair ] );
my $passer = AnyEvent::FDpasser->new( fh => [$fh1, $fh2] );
my $passer = AnyEvent::FDpasser->new( fh => $fh, );
When creating a passer objects with two filehandles, it is assumed you want to fork. After you fork you are then supposed call `$passer->i_am_parent' and `$passer->i_am_child'. Creating a pas...

Alternatives

Package Version Architecture Repository
perl-AnyEvent-FDpasser-0.3.0-alt6.1.i586.rpm 0.3.0 i586 Autoimports
perl-AnyEvent-FDpasser - - -

Requires

Name Value
/usr/lib64/perl5 -
libc.so.6(GLIBC_2.2.5)(64bit) -
libc.so.6(GLIBC_2.4)(64bit) -
libperl-5.28.so()(64bit) -
libpthread.so.0(GLIBC_2.2.5)(64bit) -
perl(AnyEvent.pm) -
perl(AnyEvent/Util.pm) -
perl(Errno.pm) -
perl(POSIX.pm) -
perl(Socket.pm) -
perl(XSLoader.pm) -
perl(common/sense.pm) -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(AnyEvent/FDpasser.pm) = 0.003
perl-AnyEvent-FDpasser = 0.3.0-alt6.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-AnyEvent-FDpasser-0.3.0-alt6.1.x86_64.rpm
Source Package perl-AnyEvent-FDpasser-0.3.0-alt6.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus x86_64 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-AnyEvent-FDpasser rpm package:
    # sudo apt-get install perl-AnyEvent-FDpasser

Files

Path
/usr/lib64/perl5/AnyEvent/FDpasser.pm
/usr/lib64/perl5/auto/AnyEvent/
/usr/lib64/perl5/auto/AnyEvent/FDpasser/FDpasser.so
/usr/share/doc/perl-AnyEvent-FDpasser-0.3.0/COPYING
/usr/share/doc/perl-AnyEvent-FDpasser-0.3.0/README
/usr/share/doc/perl-AnyEvent-FDpasser-0.3.0/README.pod

See Also

Package Description
perl-AnyEvent-FastPing-2.1-alt5.1.x86_64.rpm perl module AnyEvent-FastPing
perl-AnyEvent-FastPing-scripts-2.1-alt5.1.x86_64.rpm AnyEvent-FastPing scripts
perl-Apache-DB-0.14-alt5.1.x86_64.rpm Run the interactive Perl debugger under mod_perl
perl-Apache-Mmap-0.05-alt4.1.x86_64.rpm Associates a scalar with a mmap'd file
perl-Apache2-AuthenNTLM-0.02-alt4.1.x86_64.rpm perl module Apache2-AuthenNTLM
perl-App-CSE-0.014-alt1.1.x86_64.rpm Code search engine
perl-App-CSE-scripts-0.014-alt1.1.x86_64.rpm App-CSE scripts
perl-App-Dispatch-0.007-alt4.1.x86_64.rpm Tool to have #! dispatch to the best executable for the job
perl-App-Dispatch-scripts-0.007-alt4.1.x86_64.rpm App-Dispatch scripts
perl-App-Licensecheck-3.0.37-alt1.x86_64.rpm simple license checker for source files
perl-App-PTP-1.09-alt1.x86_64.rpm An expressive Pipelining Text Processor
perl-App-PerlXLock-0.08-alt1.1.x86_64.rpm A simple X locking utility
perl-App-Stacktrace-0.09-alt4.1.x86_64.rpm Stack trace
perl-App-Stacktrace-scripts-0.09-alt4.1.x86_64.rpm App-Stacktrace scripts
perl-App-a2p-1.011-alt1.x86_64.rpm Awk to Perl translator
Advertisement
Advertisement