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

Julian Fitzell julian at beta4.com
Wed Jan 21 16:50:13 UTC 2004


Avi Bryant wrote:
> 
> 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...
> 
> 

I was thinking I might add it to the config app this morning...  or 
maybe whenever I look at fixing our redirect URLs to be absolute.

Julian




More information about the Squeak-dev mailing list