Re: Non blocking IO

Stephen C. Tweedie (sct@redhat.com)
Thu, 25 Mar 1999 23:25:16 +0000 (GMT)


Hi,

On Thu, 25 Mar 1999 10:14:49 +0800 (SST), Murali Nagaraj
<murali.n@tatainfotech.com> said:

> Hello,
> Is there a support for non-blocking IO in Linux?
> Has anyone experimented with it?

If you mean standard Unix O_NONBLOCK, for sockets and pipes, then yes,
it works fine under Linux. If you mean async IO to regular files, then
glibc-2.1 has a libaio for posix.4 asynchronous reads and writes,
implemented using threads.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/