>>>>> "TH" == Tom Hughes <[EMAIL PROTECTED]> writes:

  TH> Certainly I know Unixware used to fake it up by creating a new
  TH> thread and doing sync IO in that thread, and I think Solaris did
  TH> the same but that was a couple of years ago now so things might
  TH> be better now.

solaris has a full async i/o system. its major weakness is it relies on
SIGIO to let you know i/o is done, no direct callbacks. there are 2
api's (aio_read and aioread. librt and libaio) to choose from. here is
form the aio man page:

     SISCD_2.3 (SPARC only)  -   The SPARC Compliance Definition,
     revision 2.3:
     aiocancel            aioread               aiowait
     aiowrite

     SUNW_1.1 (generic):
     aio_close            aio_fork              aioread64
     aiowrite64           assfail               close
     fork                 sigaction             sigignore
     signal               sigset


now what bothers me is that all those calls are in section 3 and are no
section 2 system calls. maybe it is faked with threads but i haven't
found any support for that notion. if so, i wonder if we can actually
use it and not collide with perl threads?

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

Reply via email to