Mail Archives: djgpp/1997/08/14/20:17:13
From: | tayx AT expert DOT cc DOT purdue DOT edu (Samuel Slutzky)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Need help using select() under Win95
|
Date: | 10 Aug 1997 21:21:53 GMT
|
Organization: | Purdue University Computing Center
|
Lines: | 14
|
Message-ID: | <5slbdh$t9e@mozo.cc.purdue.edu>
|
NNTP-Posting-Host: | expert.cc.purdue.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello, I am having a problem using select() under Win95. I am trying
to port a program from Linux which needs to poll for input while doing
more important things. It works, more or less, under Windows 95 when run
by itself except that it stops right away upon input and not after a
new-line, but this is Ok. The bigger problem is that when run from
another program, that starts my program as a child process (I believe),
my program cannot detect any input at all using select() and therefore
just sits forever. Does this make any sense? Do I need to try the
Cygnus compiler I am hearing about and if so, will it compile anything
GCC/G++(Gxx) compile?
Thank you,
Sam Slutzky
- Raw text -