Re: [Vm-dev] SqueakJS top middle display area, is that Process browser and stack of suspended contexts?
gettimothy at zoho.com
Sun Feb 2 18:41:27 UTC 2014
---- On Sun, 02 Feb 2014 09:56:41 -0800 Bert Freudenberg<bert at freudenbergs.de> wrote ----
On 02.02.2014, at 17:59, gettimothy <gettimothy at zoho.com> wrote:
Looking at your work at http://lively-web.org/users/bert/squeak.html, in the top middle display
Am I looking at a process browser and a "stack" of suspended and active contexts?
 in BlockContext>>newProcess
 in ProcessorScheduler class>>startUp
ctx=rcvr: the ProcessorScheduler class
Almost. It is the stack of the currently running process. That is, the activeContext and its sender context and its sender context etc.
You can see the same thing, just displayed differently, when you follow the activeContext's sender chain in the left tree display.
The other runnable processes are in the Processor global, the 4th item in the specialObjects array on the left. This image has 8 priority levels. It's more instructive to look at it right after loading, because then you will see the idleProcess at priority 1 in the quiescentProcessList. The idleProcess is always runnable. So if no higher-priority process is runnable (which is most of the time) this is what you see. The other processes are all waiting on some Semaphore so they are not in that list.
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev