Mail Archives: djgpp/1999/04/25/06:21:05
On Fri, 23 Apr 1999, Alberto Chessa wrote:
> Has kbhit() problem when interrupted by SIGALRM (generated with
> setitimer(), not with alarm()) ? It seem to hang-on and simple never
> return. It could be a bug of my program or there are known problems on
> kbhit() ?
I'm not aware of any such problems. If the comments below don't
explain your problem, please post a minimal program that exhibits this
behvior.
> (I know, the signal delivering is delayed during DOS system call. That's
> why I'm using a kbhit() based loop instead of a getch()).
Signals are delayed during *all* real-mode call, including a call to
`kbhit' (which issues a BIOS interrupt).
> p.s.: I can post a detailed problem report if required
That is always a good idea.
- Raw text -