Re: Good point of Linux over NT

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 22 Jan 1997 20:39:48 +0000 (GMT)


> Hmm, clone() is the basis for kernel-threads, which can be used to
> simulate async I/O (and sound like a more modern design), but does Linux
> have a direct equivalent of SunOS/Solaris's aioread() and aiowrite() ?
> That is, a way to queue a read() or a write() and have the call return
> immediately.

POSIX.4 covers asynchronous I/O operations. Its implementable by putting
POSIX.4 signals into kernel space and using clone(). clone() is so
fast that doing all the aio stuff in kernel is a lose