On Sat, Sep 28, 2013 at 1:32 PM, niXman <i.nixman@xxxxxxxxx> wrote: > 2013/9/28 Ian Lance Taylor: > >> The current implementation of goroutines in gccgo requires the >> makecontext, getcontext, and setcontext functions. > What do goroutines use in gcc-4.6.x instead of theese functions? In GCC 4.6 libgo each goroutine is run in a separate thread, rather than using the more efficient context switching functions. >> ... But I have not actually done this. > Is libgo writen by you? The vast majority of libgo is simply the same standard library that is used by the gc compiler. I wrote the parts of it that are specific to gccgo. Ian