![]() |
![]()
| ![]() |
![]()
NAMEPOE::XS::Loop::Poll - an XS implementation of POE::Loop, using poll(2). SYNOPSISuse POE::Kernel { loop => 'POE::XS::Loop::Poll' }; DESCRIPTIONThis 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 ALSOPOE, POE::Kernel, POE::Loop. BUGSRelies 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 hasn't been initialized correctly then the loop hasn't been loaded correctly, in POE <= 1.287 the following: # this doesn't 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; LICENSEPOE::XS::Loop::Poll is licensed under the same terms as Perl itself. AUTHORTony Cook <tonyc@cpan.org> sub skip_tests {
|