Hi Gophers!
The comment for the systemstack function states that it "runs fn on a system stack." My understanding is that fn is executed on the thread's g0 stack. However, g0 is allocated via the malg function, just like a regular goroutine's stack. That suggests the g0 stack is not implicitly created by the kernel (e.g., via a traditional thread stack), but explicitly by the Go runtime. Given that, I'm wondering: if the g0 stack is runtime-allocated and not a kernel-managed stack, is the term “system” in systemstack still meaningful? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/67b983ce-6057-47cc-b2f0-857800ba40c0n%40googlegroups.com.