Mail Archives: djgpp/2000/04/13/17:51:06
> Raymond Martineau wrote:
> > Under MS-DOS 7.0 (Windows 95 in Dos mode), I encounter keyboard
> > lockups when I quit a program compiled by a recent version of DJGPP.
> > When I either press or release a key during a split second window of
> > the program terminating, the keyboard completely locks up, and does
> > not respond.
>
Eli Responds:
> I have never seen such problems, and neither did anyone else complained about
> this, ever.
I saw this behavior under V2.01 on a 486/33 under DOS (and no other system). It
was infrequent but common enough to be a real pain. V2.00 didn't do this. I
didn't have time to investigate and I didn't use the system very often. But
I don't think it's completely uncommon. It would happen on all programs
built with V2.01 that I tested, even simple "hello world" ones if I ran them
frequently enough.
Since the CTRL-C handler hooks the HW interrupt for the keyboard, I tried
to disable this and the symptoms went away. So I'm sure it was some strange
window of vunerability at exit. I have no idea if this still exists in recent
versions.
- Raw text -