doesn't seem useful to
save the console state if we allocate and delete the select_record each time
we call select().
My guess is that cygwin_select should pull in a saved select_record instead
of creating a new one. But from where?
Thanks in advance,
--Michiel.
Michiel de Hoon
Center for Com
> On Feb 5 13:17, Michiel De Hoon wrote:
> > 1) Where is the select_record deleted? The select_stuff variable sel will
be
> > gone after we exit cygwin_select, and with it the pointer to the
> > select_record we allocated in select_read.
>
> In the select_stuff destr
> On Sun, Feb 05, 2006 at 01:17:33PM -0500, Michiel De Hoon wrote:
> >For one of my software projects, I need the _kbhit function to check the
> >console for keyboard input. While this function is present in msvcrt.dll,
it
> >is missing from cygwin1.dll, so I started writing
m".
If:
1) A program needs to run a Windows message loop;
2) This message loop should be exited when user input is available on stdin;
3) The program needs to link to cygwin1.dll;
then it is a Cygwin program that needs _kbhit (either present in the DLL or
implemented by myself using select()), isn&
4 matches
Mail list logo