Re: Good point of Linux over Windows NT
Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 22 Jan 1997 20:33:56 +0000 (GMT)
> one solution in linux is to just launch off another thread to do the
> io which'll get stuck in kernel mode, not the whole process. but this
> is kind of cheesy, and has the overhead of creating a new thread.
Its not much of an overhead - 11uS for the clone and exit. Your I/O will
probably swallow that. You dont have to create a thread for each I/O either
just for each currently pending parallel I/O - you can keep a pair of
friends around for I/O
Alan