Date: Mon, 3 Jun 1996 13:16:35 +0200 (IST) From: Eli Zaretskii To: Orlando Andico Cc: Rich Deighton , djgpp AT delorie DOT com Subject: Re: I/O Multiplexor In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 1 Jun 1996, Orlando Andico wrote: > Forgive my ignorance, but what's the use of having select () on a single > threaded file system? (of course, this is not mentioning the nonexistent > sockets library.. ;) I can think of a few uses: 1) Portability. How else would you write a program that polls the keyboard in a way that would run on both MS-DOS and Unix? 2) An infrastructure for implementing file-system extensions, like the sockets. Anyway, this thread was started when somebody asked what should they use instead of `select', probably because they don't know DJGPP *has* `select'. They didn't tell why did they need it.