Re: Non-blocking I/O

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 17 Jul 1998 02:03:38 +0100 (BST)


> Yeah, but things like:
>
> open("/mounts/scsi6/cache/04/D3/0004D396", O_RDONLY|O_NONBLOCK)
>
> block.

The open call completes yes, but it doesnt block on device ready

> This really sucks because it means we have to write smarter apps. to put IO
> like this in another thread or some such and I'm a lazy bastard who would
> like to be able to avoid having to do this.

So put it in a library _NOT_ the kernel

-
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.altern.org/andrebalsa/doc/lkml-faq.html