]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/runtime/stubs.go
Revert "runtime/cgo: store M for C-created thread in pthread key"
[gostls13.git] / src / runtime / stubs.go
index 65b7299f745be6be7bff1989f697e7e59b025634..373445d613ea59f63840c7e06eae002ee2626644 100644 (file)
@@ -237,9 +237,6 @@ func noEscapePtr[T any](p *T) *T {
 // cgocallback is not called from Go, only from crosscall2.
 // This in turn calls cgocallbackg, which is where we'll find
 // pointer-declared arguments.
-//
-// When fn is nil (frame is saved g), call dropm instead,
-// this is used when the C thread is exiting.
 func cgocallback(fn, frame, ctxt uintptr)
 
 func gogo(buf *gobuf)