Date: Mon, 22 Jul 2002 08:19:23 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp-workers AT delorie DOT com Subject: Re: Emacs CVS and Windows NT 4 In-Reply-To: <10207212337.AA24453@clio.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 21 Jul 2002 sandmann AT clio DOT rice DOT edu wrote: > > > Does this version crash? It disables the keyboard hooking. This might > > > be a long term fix. But in the meantime, it seems that unixy sbrk under > > > NT 4.0 is just badly broken, thanks to MS bugz > > > > No, the new version doesn't crash. > > This confirms the problem is due to hardware interrupts during the sbrk(). > One fix might be to call the toggle around the actual resize in sbrk() - > but this only fixes our hooks and not any the user might add. If both > the DPMI interupt disable call and CLI instruction don't stop interrupts > from being sent to the DPMI application on NT, I don't see how anything > we do can be a complete fix. Note that Emacs needs at least Ctrl-BREAK to generate a SIGINT, otherwise the emergency-escape feature will stop working (meaning that you cannot break out of infloops and other calamities on the Lisp level).