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

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-AnyEvent-FDpasser-0.3.0-alt6.1.i586.rpm
Package name perl-AnyEvent-FDpasser
Package version 0.3.0
Package release alt6.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 74.56 KB
Installed size 74.56 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...


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


Name Value
/usr/lib/perl5 - - - - -
perl( -
perl(AnyEvent/ -
perl( -
perl( -
perl( -
perl( -
perl(common/ -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


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


Type URL
Binary Package perl-AnyEvent-FDpasser-0.3.0-alt6.1.i586.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] i586 autoimports
    rpm [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



See Also

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