Thread Programming Support for Pharo

Actually, in Pharo there is already infraestructure for running thousand of process (green treads), but there is small support for "thread based programming". What does it means? We do not have an easy way to:

  • define tasks (proably Job class and aronud can help there)
  • scheduling tasks in a proper way (a.k.a. Round Robin)
  • communication between tasks
  • serialization/materialization of tasks (again, fuel can help here)

So, the idea is to have in Pharo the same infraestructure as Stackless Python [1][2] provides.

What is this useful for? To allow an elegant way to deal with massive amounts of tasks (tipical in games, for instance).