Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for nocgocallback (0.39 sec)

  1. src/runtime/cgocall.go

    // stack and outside the $GOMAXPROCS limit. crosscall2 calls
    // runtime.cgocallback(_cgoexp_GoF, frame, ctxt) using the gc ABI.
    // (crosscall2's framesize argument is no longer used, but there's one
    // case where SWIG calls crosscall2 directly and expects to pass this
    // argument. See _cgo_panic.)
    //
    // runtime.cgocallback (in asm_$GOARCH.s) switches from m.g0's stack
    // to the original g (m.curg)'s stack, on which it calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	// Used by the execution tracer.
    	inMarkAssist bool
    	coroexit     bool // argument to coroswitch_m
    
    	raceignore    int8  // ignore race detection events
    	nocgocallback bool  // whether disable callback from C
    	tracking      bool  // whether we're tracking this G for sched latency statistics
    	trackingSeq   uint8 // used to decide whether to track this G
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. src/runtime/stubs.go

    func noEscapePtr[T any](p *T) *T {
    	x := uintptr(unsafe.Pointer(p))
    	return (*T)(unsafe.Pointer(x ^ 0))
    }
    
    // Not all cgocallback frames are actually cgocallback,
    // so not all have these arguments. Mark them uintptr so that the GC
    // does not misinterpret memory when the arguments are not present.
    // cgocallback is not called from Go, only from crosscall2.
    // This in turn calls cgocallbackg, which is where we'll find
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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