fix go-cni race condition
Signed-off-by: Michael Zappa <michael.zappa@gmail.com>
This commit is contained in:
38
vendor/github.com/petermattis/goid/runtime_go1.23.go
generated
vendored
Normal file
38
vendor/github.com/petermattis/goid/runtime_go1.23.go
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
//go:build gc && go1.23
|
||||
// +build gc,go1.23
|
||||
|
||||
package goid
|
||||
|
||||
type stack struct {
|
||||
lo uintptr
|
||||
hi uintptr
|
||||
}
|
||||
|
||||
type gobuf struct {
|
||||
sp uintptr
|
||||
pc uintptr
|
||||
g uintptr
|
||||
ctxt uintptr
|
||||
ret uintptr
|
||||
lr uintptr
|
||||
bp uintptr
|
||||
}
|
||||
|
||||
type g struct {
|
||||
stack stack
|
||||
stackguard0 uintptr
|
||||
stackguard1 uintptr
|
||||
|
||||
_panic uintptr
|
||||
_defer uintptr
|
||||
m uintptr
|
||||
sched gobuf
|
||||
syscallsp uintptr
|
||||
syscallpc uintptr
|
||||
syscallbp uintptr
|
||||
stktopsp uintptr
|
||||
param uintptr
|
||||
atomicstatus uint32
|
||||
stackLock uint32
|
||||
goid int64 // Here it is!
|
||||
}
|
||||
Reference in New Issue
Block a user