NAME
IO::Async::Loop::KQueue - use IO::Async
with kqueue
VERSION
Version 0.02
SYNOPSIS
Like IO::Async::Loop::Epoll for Linux, This module provides native loop management for BSD like operating systems that have KQueue present, using IO::KQueue
.
use IO::Async::Loop::KQueue;
my $loop = IO::Async::Loop::KQueue->new();
$loop->add( IO::Async::Signal->new(
name => '',
on_receipt => sub { ... },
) );
METHODS
new
$count = $loop->loop_once( $timeout )
This method calls the kevent method, using the given timeout and processes the results of that call. It returns the total number of IO::Async::Notifier
callbacks invoked.
AUTHOR
Squeeks, <squeek at cpan.org>
BUGS
Please report any bugs or feature requests to bug-io-async-loop-kqueue at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IO-Async-Loop-KQueue. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc IO::Async::Loop::KQueue
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=IO-Async-Loop-KQueue
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
Paul Evans (LeoNerd) for doing all the hard work.
LICENSE AND COPYRIGHT
Copyright 2010 Squeeks.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.