The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

POE::XS::Loop::Poll - an XS implementation of POE::Loop, using poll(2).

SYNOPSIS

  use POE::Kernel { loop => 'POE::XS::Loop::Poll' };

DESCRIPTION

This class is an implementation of the abstract POE::Loop interface written in C using the poll(2) system call.

Signals are left to POE::Loop::PerlSignals.

SEE ALSO

POE, POE::Kernel, POE::Loop.

BUGS

Relies upon small fd numbers, but then a lot of code does.

Will fail badly if your code uses POE from more than one Perl thread.

LICENSE

POE::XS::Loop::Poll is licensed under the same terms as Perl itself.

AUTHOR

Tony Cook <tonyc@cpan.org>

sub skip_tests { $ENV{POE_EVENT_LOOP} = "POE::XS::Loop::Poll"; return; }