- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for nocgocallback (0.16 sec)
-
src/runtime/asm_arm64.s
BL (R1) // Restore stack pointer. MOVD 8(RSP), R2 MOVD R2, RSP MOVD R0, ret+16(FP) RET // cgocallback(fn, frame unsafe.Pointer, ctxt uintptr) // See cgocall.go for more details. TEXT ·cgocallback(SB),NOSPLIT,$24-24 NO_LOCAL_POINTERS // Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g. // It is used to dropm while thread is exiting.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 43.4K bytes - Viewed (0) -
src/runtime/asm_ppc64x.s
XOR R0, R0 MOVD asmcgocallSaveOffset(R1), R1 // Restore stack pointer. #ifndef GOOS_aix MOVD 24(R1), R2 #endif // ret = R3 RET // func cgocallback(fn, frame unsafe.Pointer, ctxt uintptr) // See cgocall.go for more details. TEXT ·cgocallback(SB),NOSPLIT,$24-24 NO_LOCAL_POINTERS // Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g. // It is used to dropm while thread is exiting.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 45.4K bytes - Viewed (0) -
src/cmd/cgo/out.go
if len(paramnames) > 0 { arg = "uintptr(unsafe.Pointer(&p0))" } else if !void { arg = "uintptr(unsafe.Pointer(&r1))" } noCallback := p.noCallbacks[n.C] if noCallback { // disable cgocallback, will check it in runtime. fmt.Fprintf(fgo2, "\t_Cgo_no_callback(true)\n") } prefix := "" if n.AddError { prefix = "errno := " }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
src/runtime/asm_amd64.s
// very careful never to actually use the G, the TLS just can't be // unset since we're in Go code. GLOBL zeroTLS<>(SB),RODATA,$const_tlsSize #endif // func cgocallback(fn, frame unsafe.Pointer, ctxt uintptr) // See cgocall.go for more details. TEXT ·cgocallback(SB),NOSPLIT,$24-24 NO_LOCAL_POINTERS // Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g. // It is used to dropm while thread is exiting.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/runtime/traceback.go
u.finishInternal() return } // Compute function info flags. flag := f.flag if f.funcID == abi.FuncID_cgocallback { // cgocallback does write SP to switch from the g0 to the curg stack, // but it carefully arranges that during the transition BOTH stacks // have cgocallback frame valid for unwinding through. // So we don't need to exclude it with the other SP-writing functions. flag &^= abi.FuncFlagSPWrite }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/proc.go
} // sched.lock must be held. func checkmcount() { assertLockHeld(&sched.lock) // Exclude extra M's, which are used for cgocallback from threads // created in C. // // The purpose of the SetMaxThreads limit is to avoid accidental fork // bomb from something like millions of goroutines blocking on system
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
t.Skip("skipping for non-gc toolchain") } pc := make([]uintptr, 100) n := 0 name := []string{ "runtime.cgocallbackg1", "runtime.cgocallbackg", "runtime.cgocallback", "runtime.systemstack_switch", "runtime.cgocall", "test._Cfunc_callback", "test.nestedCall.func1", "test.nestedCall", "test.testCallbackCallers", "test.TestCallbackCallers",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 111.5K bytes - Viewed (0)