On 11/11/2009 8:03 PM, Bill Baxter wrote:
Is it possible to do the kind of "goroutine" scheduling they do purely as a library?
It’s similar to how the Plan 9 thread library works, see the code at <http://plan9.bell-labs.com/sources/plan9/sys/src/libthread/>.
That wasn't really clear to me how their "segmented stacks" thing works. Sounds like it would need low-level runtime system support, though.
I got pointed to this: <http://gcc.gnu.org/wiki/SplitStacks>, apparently by the person doing the GCC Go implementation.
—Joel Salomon
