lkml.org 
[lkml]   [2000]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Async disk i/o in Linux
On Mon, 17 Jul 2000, Ramon Garcia Fernandez wrote:
> Or it supports select with them?

Linux always (for as long as select(2) existed?) supported select(2) on
regular files. But why would you use it? select(2) on regular files is
absolutely useless and uninteresting (imagine a person who always says
"YES!" to any question you ask).

The reason why they are uninteresting is from Single UNIX v2 spec that
dictates:

File descriptors associated with regular files always select true
for ready to read, ready to write, and error conditions.

Regards,
Tigran



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.049 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site