--- IO-AIO/AIO.pm 2006/10/21 23:20:29 1.53 +++ IO-AIO/AIO.pm 2006/10/22 00:19:05 1.54 @@ -77,9 +77,12 @@ our @EXPORT = qw(aio_sendfile aio_read aio_write aio_open aio_close aio_stat aio_lstat aio_unlink aio_rmdir aio_readdir aio_scandir aio_symlink - aio_fsync aio_fdatasync aio_readahead aio_rename aio_link aio_move); + aio_fsync aio_fdatasync aio_readahead aio_rename aio_link aio_move + aio_group); our @EXPORT_OK = qw(poll_fileno poll_cb min_parallel max_parallel max_outstanding nreqs); + @IO::AIO::GRP::ISA = 'IO::AIO::REQ'; + require XSLoader; XSLoader::load ("IO::AIO", $VERSION); } @@ -494,6 +497,13 @@ If this call isn't available because your OS lacks it or it couldn't be detected, it will be emulated by calling C instead. +=item aio_group $callback->() + +=item aio_sleep $fractional_seconds, $callback->() *NOT EXPORTED* + +Mainly used for debugging and benchmarking, this aio request puts one of +the request workers to sleep for the given time. + =back =head2 IO::AIO::REQ CLASS