// First function run by a new goroutine. This replaces gogocall. static void kickoff(void) { void (*fn)(void*); fn = (void (*)(void*))(g->entry); fn(g->param); runtime_goexit(); }
void runtime_Goexit(void) { __go_rundefer(); runtime_goexit(); }