Date: Thu, 16 Feb 95 21:43:50 MST From: terry@cs.weber.edu (Terry Lambert) To: mhg@sampson.ccsf.caltech.edu (Marc Goroff) Cc: questions@FreeBSD.org Subject: Re: Async I/O for FreeBSD 2.0 Message-ID: <9502170443.AA16408@cs.weber.edu> In-Reply-To: <199502162335.PAA02959@sampson.ccsf.caltech.edu> from "Marc Goroff" at Feb 16, 95 03:35:47 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> I have just installed FreeBSD 2.0 and it is performing very well, but I > have an application that requires async I/O. Has anyone implemented > aioread or aiowrite for FreeBSD 2.0???? I did once back when LWP was really the way you did threads. I did an LWP, too, writing it first for Sun using Sun's aioread/write/wait/cancel. It's relatively trivial (lot of grunt work), but my code is not at all applicable to the 2.0 source base. You will to add aiowait and aiocancel as well. A useful document is available from the CS department of Washington State (wuarchive), called "User space Threads and Register Windowing on SPARC" or something like that. You will need to add a context block to the current proc for each outstanding I/O if you expect to use SIGIO; if you always use aiowait, then it's even easier. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9502170443.AA16408>