Preemptive scheduling

J J azreal1977 at hotmail.com
Tue May 1 17:48:13 UTC 2007


Hi all,

Does the Squeak VM do preemptive scheduling or regular yield style 
scheduling.  This may sound like a silly question, but I know Erlang is 
language that does mainly green threads and they are preemptive in nature.  
They accomplish this by allowing a given thread to execute no more then 100 
VM instructions before it is preempted (obviously if a thread makes a 
primitive call that is a voluntary yield).

Does Squeak do this already?  I suspect not, and if I am correct, would 
there be any benefit in doing something like this or would it actually slow 
things down?

Thanks,
Jason

_________________________________________________________________
Don’t quit your job – Take Classes Online and Earn your Degree in 1 year. 
Start Today! 
http://www.classesusa.com/clickcount.cfm?id=866146&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866144




More information about the Squeak-dev mailing list