[BUG] User interrupts no longer interrupt locked UI process

Ned Konz ned at squeakland.org
Thu Mar 18 17:20:08 UTC 2004


The recent changes to the EventSensor have resulted in a situation where you 
can't break out of a tight UI loop like we used to be able to do.

At least this is the case under Linux and Mac.

Try evaluating this in a Workspace, and then try to break out of it:

10000 timesRepeat: [ Float pi printString ].

Pre-5784 images let you break out of the loop; later ones don't (at least with 
recent VMs on Mac and Linux; I haven't tried Windows).

I *really* think that it's important to have the ability to interrupt tight 
loops in the UI process. The lack of this ability is why it was hard to catch 
the MVC hang problem reported and fixed earlier.

What's the right solution here, folks? Andreas?

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list