Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!rpi!crdgw1!uunet!ns-mx!umaxc.weeg.uiowa.edu!csq031 From: csq031@umaxc.weeg.uiowa.edu Newsgroups: comp.lang.smalltalk Subject: Re: anyone using time-sliced scheduling w/st80? Message-ID: <4861@ns-mx.uiowa.edu> Date: 13 Mar 91 01:25:11 GMT References: Sender: news@ns-mx.uiowa.edu Reply-To: csq031@umaxc.weeg.uiowa.edu () Organization: U of Iowa, Iowa City, IA Lines: 17 You can implement your own scheduler on top of (or beside, as it were) of the regular scheduler. All you have to do is to install a tick handler that runs at highest priority. When it resumes, check to see if the currently running process is one of the ones you're scheduling. If it is, and its tick has expired then you can suspend it and put it on your ready queue, and resume the process you think should run next. Better yet, study the scheduler code with the browser. You might be able to just wade in there and make what you want to happen happen. Be advised that you are guaranteed to hose the system with great frequency if you muck around with the scheduler very much! -- Kent Williams --- williams@umaxc.weeg.uiowa.edu "'Is this heaven?' --- 'No, this is Iowa'" - from the movie "Field of Dreams" "This isn't heaven, ... this is Cleveland" - Harry Allard, in "The Stupids Die"