Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cgocallbackg (0.12 sec)

  1. src/runtime/asm_amd64.s

    // 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.
    	MOVQ	fn+0(FP), AX
    	CMPQ	AX, $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top