Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NoCgo (0.04 sec)

  1. src/runtime/asm_amd64.s

    	MOVQ	_cgo_sys_thread_create(SB), AX
    	TESTQ	AX, AX
    	JZ	nocgo
    
    	// We're calling back to C.
    	// Align stack per ELF ABI requirements.
    	MOVQ	SP, BX  // Callee-save in C ABI
    	ANDQ	$~15, SP
    	MOVQ	$_rt0_amd64_lib_go(SB), DI
    	MOVQ	$0, SI
    	CALL	AX
    	MOVQ	BX, SP
    	JMP	restore
    
    nocgo:
    	ADJSP	$16
    	MOVQ	$0x800000, 0(SP)		// stacksize
    	MOVQ	$_rt0_amd64_lib_go(SB), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top