ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.53 by root, Sat Oct 21 23:20:29 2006 UTC vs.
Revision 1.54 by root, Sun Oct 22 00:19:05 2006 UTC

75BEGIN { 75BEGIN {
76 our $VERSION = '1.99'; 76 our $VERSION = '1.99';
77 77
78 our @EXPORT = qw(aio_sendfile aio_read aio_write aio_open aio_close aio_stat 78 our @EXPORT = qw(aio_sendfile aio_read aio_write aio_open aio_close aio_stat
79 aio_lstat aio_unlink aio_rmdir aio_readdir aio_scandir aio_symlink 79 aio_lstat aio_unlink aio_rmdir aio_readdir aio_scandir aio_symlink
80 aio_fsync aio_fdatasync aio_readahead aio_rename aio_link aio_move); 80 aio_fsync aio_fdatasync aio_readahead aio_rename aio_link aio_move
81 aio_group);
81 our @EXPORT_OK = qw(poll_fileno poll_cb min_parallel max_parallel max_outstanding nreqs); 82 our @EXPORT_OK = qw(poll_fileno poll_cb min_parallel max_parallel max_outstanding nreqs);
83
84 @IO::AIO::GRP::ISA = 'IO::AIO::REQ';
82 85
83 require XSLoader; 86 require XSLoader;
84 XSLoader::load ("IO::AIO", $VERSION); 87 XSLoader::load ("IO::AIO", $VERSION);
85} 88}
86 89
492callback with the fdatasync result code. 495callback with the fdatasync result code.
493 496
494If this call isn't available because your OS lacks it or it couldn't be 497If this call isn't available because your OS lacks it or it couldn't be
495detected, it will be emulated by calling C<fsync> instead. 498detected, it will be emulated by calling C<fsync> instead.
496 499
500=item aio_group $callback->()
501
502=item aio_sleep $fractional_seconds, $callback->() *NOT EXPORTED*
503
504Mainly used for debugging and benchmarking, this aio request puts one of
505the request workers to sleep for the given time.
506
497=back 507=back
498 508
499=head2 IO::AIO::REQ CLASS 509=head2 IO::AIO::REQ CLASS
500 510
501All non-aggregate C<aio_*> functions return an object of this class when 511All non-aggregate C<aio_*> functions return an object of this class when

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines