Subject: bug#18848: hang is in [EmacsApp run] (24.4.51; Hang after toolbar use)

From: David Reitter <[email-masked]>
Date: Sat, 8 Nov 2014 13:03:45 -0500

Hi Jan,

On Nov 8, 2014, at 12:19 PM, Jan D. <[email-masked]> wrote:
> 
> Hello.
> 
>> 8 nov 2014 kl. 18:06 skrev David Reitter <[email-masked]>:
>> 
>> Your change does not help.
>> I think it’s a Yosemite bug.  Below is a workaround.
> 
> This code does not get executed on Yosemite with the latest changes.

Yes, that’s right.  My patch is against the original version of the code.  When the hang occurs, it gets broken after .5sec by the timeout.

Your change doesn’t work presumably because the system’s event loop is affected by the lost events just the same.

Not replacing the event loop unless necessary is probably a good idea, even if it does not address the present issue.

- David