Linux::AIO

Linux-specific aio implemented using clone
Download

Linux::AIO Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Marc Lehmann
  • Publisher web site:
  • http://www.goof.com/pcg/marc/

Linux::AIO Tags


Linux::AIO Description

Linux-specific aio implemented using clone Linux::AIO is a Perl module that has been mostly superseded by IO::AIO, which is API compatible.This module implements asynchronous I/O using the means available to Linux - clone. It does not hook into the POSIX aio_* functions because Linux does not yet support these in the kernel (even as of 2.6.12, only O_DIRECT files are supported) and even if, it would only allow aio_read and write, not open, stat and so on.Instead, in this module a number of (non-posix) threads are started that execute your read/writes and signal their completion. You don't need thread support in your libc or perl, and the threads created by this module will not be visible to the pthreads library.NOTICE: the threads created by this module will automatically be killed when the thread calling min_parallel exits. Make sure you only ever call min_parallel from the same thread that loaded this module.Although the module will work with in the presence of other threads, it is not reentrant, so use appropriate locking yourself.SYNOPSIS use Linux::AIO; # This module has been mostly superseded by IO::AIO. Requirements: · Perl


Linux::AIO Related Software