runtime.m.ncgo (field)
9 uses
runtime (current package)
cgocall.go#L135: mp.ncgo++
cgocall.go#L169: mp.ncgo--
cgocall.go#L271: if gp.m.ncgo == 0 {
cgocall.go#L323: if mp.ncgo > 0 {
cgocall.go#L325: mp.ncgo--
proc.go#L4478: if mp.ncgo > 0 && mp.curg != nil && mp.curg.syscallpc != 0 && mp.curg.syscallsp != 0 {
runtime2.go#L520: ncgo int32 // number of cgo calls currently in progress
signal_unix.go#L629: if _g_.m.lockedg != 0 && _g_.m.ncgo > 0 && gp == _g_.m.g0 {
traceback.go#L708: if iscgo && gp.m != nil && gp.m.ncgo > 0 && gp.syscallsp != 0 && gp.m.cgoCallers != nil && gp.m.cgoCallers[0] != 0 {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |