github.com/isyscore/isc-gobase@v1.5.3-0.20231218061332-cbc7451899e9/goid/runtime.go (about) 1 package goid 2 3 type stack struct { 4 lo uintptr 5 hi uintptr 6 } 7 8 type gobuf struct { 9 sp uintptr 10 pc uintptr 11 g uintptr 12 ctxt uintptr 13 ret uintptr 14 lr uintptr 15 bp uintptr 16 } 17 18 type g struct { 19 stack stack 20 stackguard0 uintptr 21 stackguard1 uintptr 22 23 _panic uintptr 24 _defer uintptr 25 m uintptr 26 sched gobuf 27 syscallsp uintptr 28 syscallpc uintptr 29 stktopsp uintptr 30 param uintptr 31 atomicstatus uint32 32 stackLock uint32 33 goid int64 // Here it is! 34 }