native threads

Patrick Mauritz oxygene at studentenbude.ath.cx
Thu Apr 14 16:58:25 UTC 2005


Am Donnerstag, den 14.04.2005, 11:37 -0400 schrieb David Shaffer:
> suggesting it.  Really, green threads are not a problem for a server.
true, but they limit the usefulness of multicore scenarios, and whatever
squeak comes up with, those _will_ come.

what would happen if there were two (or more) interpreter instances
running in a process (after removing all globals and similar issues)
that both behave like the current interpreter (doing green thread work),
just that there are two processes running all the time?

the scheduler would become slightly more complex (as a candidate process
to switch to might already run), and some things would have to be
serialized, but otherwise it should have a relatively small impact and
still work mostly the same across platforms, or not?


patrick mauritz




More information about the Squeak-dev mailing list