- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for cgoCallers (0.21 sec)
-
src/runtime/cgocall.go
// Length must match arg.Max in x_cgo_callers in runtime/cgo/gcc_traceback.c. type cgoCallers [32]uintptr // argset matches runtime/cgo/linux_syscall.c:argset_t type argset struct { args unsafe.Pointer retval uintptr } // wrapper for syscall package to call cgocall for libc (cgo) calls. // //go:linkname syscall_cgocaller syscall.cgocaller //go:nosplit //go:uintptrescapes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/runtime/runtime2.go
traceback uint8 ncgocall uint64 // number of cgo calls in total ncgo int32 // number of cgo calls currently in progress cgoCallersUse atomic.Uint32 // if non-zero, cgoCallers in use temporarily cgoCallers *cgoCallers // cgo traceback if crashing in cgo call park note alllink *m // on allm schedlink muintptr lockedg guintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/sys_linux_ppc64x.s
MOVD g_syscallsp(R7), R7 CMP $0, R7 BEQ sigtramp // g.m.curg.syscallsp == 0 MOVD m_cgoCallers(R6), R7 // R7 is the fifth arg in C calling convention. CMP $0, R7 BEQ sigtramp // g.m.cgoCallers == nil MOVW m_cgoCallersUse(R6), R8 CMPW $0, R8 BNE sigtramp // g.m.cgoCallersUse != 0 // Jump to a function in runtime/cgo. // That function, written in C, will call the user's traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 18.1K bytes - Viewed (0) -
src/runtime/signal_unix.go
// If the signal handler receives a SIGPROF signal on a non-Go thread, // it tries to collect a traceback into sigprofCallers. // sigprofCallersUse is set to non-zero while sigprofCallers holds a traceback. var sigprofCallers cgoCallers var sigprofCallersUse uint32 // sigprofNonGo is called if we receive a SIGPROF signal on a non-Go thread, // and the signal handler collected a stack trace in sigprofCallers.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/syscall/syscall_linux.go
} else if ret := cgocaller(cgo_libc_setgid, uintptr(gid)); ret != 0 { err = errnoErr(Errno(ret)) } return } var cgo_libc_setregid unsafe.Pointer // non-nil if cgo linked. func Setregid(rgid, egid int) (err error) { if cgo_libc_setregid == nil { if _, _, e1 := AllThreadsSyscall(sys_SETREGID, uintptr(rgid), uintptr(egid), 0); e1 != 0 { err = errnoErr(e1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0)