Squeak Daemon: Why doesn't Squeak sleep with zero cpu usage?

Peter William Lount peter at ActiveInfo.CA
Tue Jan 20 21:15:02 UTC 2004


> The simplest and most effective way I've found is to execute "Project
> uiProcess suspend".  Note that this will immediately lock up your UI.
> If you want to save an image in that state, you'll need something like:
>
> [Project uiProcess suspend.  Smalltalk snapshot: true andQuit: true]
> fork
>- Avi

Hi,

Ok, I've tried it again and now it actually sleeps.

What is it about the uiProcess that takes the cycles? Is the ui process
still "polling" based (rather than event based)?

How do you debug one of these "gui-chopped" images?

All the best,

Peter





More information about the Squeak-dev mailing list