[Q] Also looking for a TimeSlicer class (Squeak)
Rob Withers
slosher2 at home.com
Mon Jul 31 04:43:06 UTC 2000
Ned Konz wrote:
>
> Ned Konz wrote:
> >
> > Rob Withers wrote:
> > >
> > > It doesn't necessarily need VM support, I don't think, although it may
> > > be nice to hook into checkForInterrupts. I guess it would run at
> > > highIOPriority and I would like to adjust the priorities of the
> > > resumable processes. Perhaps run a logarithmic schedule. Is this
> > > feasible? Does anyone have this kinda code?
> >
> > I think Bob Arning did one of these as part of his Refactoring Browser work.
> >
> > http://www.charm.net/~arning/Refactoring%20current/
>
> Actually, his allowed you to run a process at alternating priorites for
> different periods of time (say priority 4 for 600 msec, then 8 for 400 msec,
> alternating).
>
> It forked off a high-priority process that would re-adjust the priority
> of the process whose priority was being modulated.
>
> Here is a condensation of the pertinent code (I removed instrumentation
> and testing support for clarity):
>
Thanks, Ned. This looks very interesting - I'll have a look tomorrow.
Rob
--
--------------------------------------------------
Smalltalking by choice. Isn't it nice to have one!
More information about the Squeak-dev
mailing list
|