Mail Archives: djgpp/1996/06/03/06:22:20
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 -