On Mon, May 15, 2006, Henrik Nordstrom wrote: > m??n 2006-05-15 klockan 18:05 +0800 skrev Adrian Chadd: > > > Its a shame I can't queue multiple read()s and write()s to the same FD; > > threads > > don't have a 'local' seek pointer to an FD as far as I can tell. > > Well, the code could be changed to use pread/pwrite to solve this > problem on most OS:es.. > > but be warned that some older OS:es emulate pread/pwrite using lseek + > i/o..
Yeah, there's not much I can do in that case. Unless they have a good (read: good for lots of queued IO on a single disk FD) implementation of POSIX AIO. Anyway; I'll see how fast/reliable/usable I can get COSS in its current incantation under Linux. Adrian
