The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

POSIX::pselect - Perl interface to pselect(2)

VERSION

This document describes POSIX::pselect version 0.03.

SYNOPSIS

    use POSIX::pselect;

    pselect($rfdset, $wfdset, $efdset, $timeout, $sigset);

DESCRIPTION

This is an interface to pselect(2).

Note that we've made sure pselect(2) works atomically only in Linux. Other operating systems like MacOSX don't support atomic pselect(2), providing pselect(3) as a non-atomic implementation instead.

INTERFACE

Functions

pselect($rfdset, $wfdset, $efdset, $timeout, $sigmask)

Calls pselect(2).

The arguments are the same as Perl's select() except for $sigmask.

$sigmask must be a POSIX::SigSet object or an ARRAY reference consisting of signal names (e.g. [qw(INT HUP)]), or signal numbers.

DEPENDENCIES

Perl 5.8.1 or later.

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

SEE ALSO

pselect(2)

"select" in perlfunc

THANKS TO

@kazuho

AUTHOR

Fuji, Goro (gfx) <gfuji@cpan.org>

LICENSE AND COPYRIGHT

Copyright (c) 2011, Fuji, Goro (gfx). All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.