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

Avi Bryant avi at beta4.com
Wed Jan 21 10:07:31 UTC 2004


On Jan 21, 2004, at 1:14 AM, Cees de Groot wrote:

> Avi Bryant  <squeak-dev at lists.squeakfoundation.org> said:
>> [Project uiProcess suspend.  Smalltalk snapshot: true andQuit: true]
>> fork
> [...]
>> You could presumably have a network accessible way of starting the UI
>> process going again so that you could 'unlock' that image should you
>> need to later.
>>
> Avi, might it be an idea to include such a snippet in standard Seaside?
> Either a "uicontroller" sample app or something on the control bar, for
> example?

Sure, I just added a suspend/resume link in the "screenshot" app.  
Brings the CPU usage down and up nicely.  
http://beta4.com/mc/seaside/Seaside2-avi.98.mcz .

It's kinda funny to queue up events while the process is suspended, and 
then resume it and see them all play out...




More information about the Squeak-dev mailing list