On Thu, Aug 18, 2022 at 5:52 AM wang jun <wangjun20110...@gmail.com> wrote: > > If i call getg() in mcall(), what kind of gorouting would I have? g0 or > normal g?
Do you mean: if you use mcall to call a function, and that function calls getg, what does getg return? It returns a g0. Ian -- 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 on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVkF70378%2Bz5unughDqHcArguREoiHm%2BiO%2BcCMR%3D1J50Q%40mail.gmail.com.