GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  POE::XS::LOOP::POLL (3)

.ds Aq ’

NAME

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

CONTENTS

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.

poll() on OS X doesn’t support ptys, hence POE::XS::Loop::Poll won’t work with ptys on OS X.

If you see an error:



  POE::XS::Loop::Poll hasnt been initialized correctly



then the loop hasn’t been loaded correctly, in POE <= 1.287 the following:



  # this doesnt work
  use POE qw(XS::Loop::Poll);



will not load the loop correctly, you will need to do:



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



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;
$ENV{POE_LOOP_USES_POLL} = 1;
return; }

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 POE::XS::LOOP::POLL (3) 2010-03-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.