Re: [go-nuts] Where is the very first g/m/p?

2018-11-20 Thread 'Axel Wagner' via golang-nuts
Using objdump, the actual program start is _rt0_amd64_linux (on that platform, obviously), which, if you follow it, pretty much does nothing but call runtimeā€¢rt0_go

[go-nuts] Where is the very first g/m/p?

2018-11-19 Thread Fei Ding
Hi I am trying to figure out the process of creation of the very first g(goroutine), together with the very fist m, and p. It seems that the deepest code I can find is at proc.go , and the getg() function is my dead end, which