www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/03/06:22:20

Date: Mon, 3 Jun 1996 13:16:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Orlando Andico <orly AT abigail DOT eee DOT upd DOT edu DOT ph>
Cc: Rich Deighton <rad AT lucel DOT demon DOT co DOT uk>, djgpp AT delorie DOT com
Subject: Re: I/O Multiplexor
In-Reply-To: <Pine.LNX.3.91.960601171736.5673A-100000@abigail.eee.upd.edu.ph>
Message-Id: <Pine.SUN.3.91.960603131243.21344B-100000@is>
Mime-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019