Re: Async I/O on IRIX 6.x?

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Sat, 12 Sep 1998 16:52:31 -0600 (MDT)

On Sat, 12 Sep 1998, Henrik Nordstrom wrote:

> I don't regard malloc,free as MT-Safe. It may be on most platforms, but
> certainly not all for a while yet.

There are MT-Safe versions of them on IRIX, I think. Pthreads are certainly
not portable to all problems anyway :)
 
> I even don't consider multiple IO functions on the same filedescriptor
> as MT-safe on all OS:es if any (there is only one filepointer per
> filedescriptor.. where does it point?).

Yes, I agree that it is a not good idea to interleave async-IOs on the same
FD. More importantly, I do not think it is needed. However, I think that the
async-code should not mix sync-, async-IO, and even calls to select() as it
does now. This unhealthy mix creates a lot of problems, IMO.

Alex.
Received on Tue Jul 29 2003 - 13:15:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:55 MST