Alternative Thread Schedulers

Bert Freudenberg bert at freudenbergs.de
Tue May 29 19:10:00 UTC 2007


On May 29, 2007, at 20:28 , J J wrote:

> Hi all,
>
> I just read http://wiki.squeak.org/squeak/5682 that Tim (I think it  
> was) mentioned, and found the part about doing alternative  
> scheduling with a higher priority thread interesting.
>
> The question I had was, in the example it says the high priority  
> process can use Delay's to sleep while other processes are running,  
> but what happens when a process does IO?  Doesn't that cause the  
> process to yield?
>
> What I am thinking is, if I were to make a scheduler process that  
> manages all running processes, how can he find out every situation  
> where a process yields in some way?  It would be ideal if there was  
> a Delay millisecondsOrUntilInterupt: type message.

What's the actual problem you want to solve with your alternative  
scheduler?

- Bert -





More information about the Squeak-dev mailing list