>>>>> "FB" == Filipe Brandenburger <[EMAIL PROTECTED]> writes:

  FB> What about pread and pwrite, for reading and writing to seekable files
 
  FB> in multiple threads? pread and pwrite get as a parameter a offset that
 
  FB> they use to seek the file before reading or writing, but doing it
 
  FB> atomically, so that many threads can use them concurrently, without
 
  FB> the risk that another thread will re-seek the file between a seek and
 
  FB> a read/write operation.
 

we can define the read/write vtable entries to allow those
params. normal read/writes would not set them and the p versions
would.

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