emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BLOCK_INPUT on Mac OS X


From: Stefan Monnier
Subject: Re: BLOCK_INPUT on Mac OS X
Date: 03 Sep 2004 12:48:19 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> I'm now trying to fill missing BLOCK_INPUTs for Mac OS X.  I suspect
> occasional hang of Carbon Emacs is due to the heap corruption caused
> by interrupted malloc/free mentioned in blockinput.h.

If you don't use SIGIO, I can't see how malloc/free could be interrupted.
What other signals are used?

Also, do a grep for "SYNC_INPUT", which is a compilation option I use to
make the Xwindow code move most of the processing to outside of the signal
handler (when compiled with SYNC_INPUT, the "interrupted malloc" should
simply never be a problem and the BLOCK_INPUTS there are unnecessary).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]