Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for nocgocallback (0.17 sec)

  1. src/runtime/cgo/gcc_libinit.c

    	}
    	return EAGAIN;
    }
    
    static void
    pthread_key_destructor(void* g) {
    	if (x_crosscall2_ptr != NULL) {
    		// fn == NULL means dropm.
    		// We restore g by using the stored g, before dropm in runtime.cgocallback,
    		// since the g stored in the TLS by Go might be cleared in some platforms,
    		// before this destructor invoked.
    		x_crosscall2_ptr(NULL, g, 0, 0);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/runtime/sys_windows_386.s

    	MOVL	CX, (12+callbackArgs_args)(SP)		// address of args vector
    	MOVL	$0, (12+callbackArgs_result)(SP)	// result
    	LEAL	12(SP), AX	// AX = &callbackArgs{...}
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVL	$0, 8(SP)	// context
    	MOVL	AX, 4(SP)	// frame (address of callbackArgs)
    	LEAL	·callbackWrap(SB), AX
    	MOVL	AX, 0(SP)	// PC of function to call
    	CALL	runtime·cgocallback(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/runtime/asm_mips64x.s

    	JAL	runtime·save_g(SB)
    	MOVV	(g_stack+stack_hi)(g), R5
    	MOVV	8(R29), R6
    	SUBVU	R6, R5
    	MOVV	R5, R29
    
    	MOVW	R2, ret+16(FP)
    	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: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  4. src/runtime/asm_mipsx.s

    	JAL	runtime·save_g(SB)
    	MOVW	(g_stack+stack_hi)(g), R5
    	MOVW	20(R29), R6
    	SUBU	R6, R5
    	MOVW	R5, R29
    
    	MOVW	R2, ret+8(FP)
    	RET
    
    // cgocallback(fn, frame unsafe.Pointer, ctxt uintptr)
    // See cgocall.go for more details.
    TEXT ·cgocallback(SB),NOSPLIT,$12-12
    	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: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. src/runtime/asm_riscv64.s

    	MOV	ZERO, ZERO	// NOP
    	JMP	runtime·goexit1(SB)	// does not return
    	// traceback from goexit1 must hit code range of goexit
    	MOV	ZERO, ZERO	// NOP
    
    // 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: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  6. src/runtime/asm_s390x.s

    	BL	runtime·save_g(SB)
    	MOVD	(g_stack+stack_hi)(g), R5
    	MOVD	160(R15), R6
    	SUB	R6, R5
    	MOVD	R5, R15
    
    	MOVW	R2, 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: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/runtime/sys_windows_arm.s

    	MOVW	R0, (16+callbackArgs_args)(R13)		// address of args vector
    	MOVW	$0, R0
    	MOVW	R0, (16+callbackArgs_result)(R13)	// result
    
    	// Prepare for entry to Go.
    	BL	runtime·load_g(SB)
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVW	$0, R0
    	MOVW	R0, 12(R13)	// context
    	MOVW	$16(R13), R1	// R1 = &callbackArgs{...}
    	MOVW	R1, 8(R13)	// frame (address of callbackArgs)
    	MOVW	$·callbackWrap(SB), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. src/runtime/asm_arm.s

    	MOVW	R2, 16(R13)	// Save old stack pointer.
    	BL	(R1)
    	// Restore stack pointer.
    	MOVW	16(R13), R2
    	MOVW	R2, R13
    	MOVW	R0, ret+8(FP)
    	RET
    
    // cgocallback(fn, frame unsafe.Pointer, ctxt uintptr)
    // See cgocall.go for more details.
    TEXT	·cgocallback(SB),NOSPLIT,$12-12
    	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: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  9. src/runtime/asm_loong64.s

    	JAL	runtime·save_g(SB)
    	MOVV	(g_stack+stack_hi)(g), R5
    	MOVV	8(R3), R6
    	SUBVU	R6, R5
    	MOVV	R5, R3
    
    	MOVW	R4, ret+16(FP)
    	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: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. src/runtime/asm_386.s

    	MOVL	BX, 0(SP)	// first argument in x86-32 ABI
    	CALL	AX
    
    	MOVL	4(SP), CX	// restore original stack pointer
    	MOVL	CX, SP
    	MOVL	AX, ret+8(FP)
    	RET
    
    // cgocallback(fn, frame unsafe.Pointer, ctxt uintptr)
    // See cgocall.go for more details.
    TEXT ·cgocallback(SB),NOSPLIT,$12-12  // Frame size must match commented places below
    	NO_LOCAL_POINTERS
    
    	// Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top