| IO-Mux documentation | view source | Contained in the IO-Mux distribution. |
IO::Mux::Poll - simplify use of poll()
IO::Mux::Poll is a IO::Mux
use IO::Mux::Poll; my $mux = IO::Mux::Poll->new; my $server = IO::Mux::Service::TCP->new(...); $mux->add($server); $mux->loop;
Multiplexer based on the poll() system call, defined by POSIX.
The poll has less administration overhead than the select call
(implemented via IO::Mux::Select (IO::Mux::Select)) because it avoids the need to play
with bit-vectors to see which file handles got activated. However,
poll is not supported on all platforms.
The internal IO::Poll object.
Poll is only available on UNIX. Windows Vista has added a WSAPoll with comparible functionality (probably), but afaik there is no binary wrapper available for perl yet.
This module is part of IO-Mux distribution version 0.11, built on January 26, 2011. Website: http://perl.overmeer.net/ All modules in this suite: Any::Daemon, IO::Mux, and IO::Mux::HTTP.
Please post questions or ideas to perl@overmeer.net
Copyrights 2011 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
| IO-Mux documentation | view source | Contained in the IO-Mux distribution. |