Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for stacksize (0.15 sec)

  1. src/runtime/os_openbsd_libc.go

    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. src/runtime/os_darwin.go

    	if err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/runtime/os_freebsd.go

    	// utilizing c-shared/c-archive force external linking.
    	param := thrparam{
    		start_func: uintptr(fn),
    		arg:        nil,
    		stack_base: uintptr(stack), //+stacksize?
    		stack_size: stacksize,
    		child_tid:  nil, // minit will record tid
    		parent_tid: nil,
    		tls_base:   unsafe.Pointer(&m0.tls[0]),
    		tls_size:   unsafe.Sizeof(m0.tls),
    	}
    
    	var oset sigset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/runtime/rt0_linux_arm64.s

    	MOVD	$_rt0_arm64_linux_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_linux_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    	// Restore callee-save registers.
    	RESTORE_R19_TO_R28(24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/runtime/rt0_freebsd_arm64.s

    	MOVD	$_rt0_arm64_freebsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP	// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_freebsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    	// Restore callee-save registers.
    	RESTORE_R19_TO_R28(24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/obj.go

    		return
    	}
    
    	stacksize := text.To.Offset
    	if stacksize == -8 {
    		// Historical way to mark NOFRAME.
    		text.From.Sym.Set(obj.AttrNoFrame, true)
    		stacksize = 0
    	}
    	if stacksize < 0 {
    		ctxt.Diag("negative frame size %d - did you mean NOFRAME?", stacksize)
    	}
    	if text.From.Sym.NoFrame() {
    		if stacksize != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. src/runtime/rt0_linux_loong64.s

    	MOVV	_cgo_sys_thread_create(SB), R19
    	BEQ	R19, nocgo
    	MOVV	$_rt0_loong64_linux_lib_go(SB), R4
    	MOVV	$0, R5
    	JAL	(R19)
    	JMP	restore
    
    nocgo:
    	MOVV	$0x800000, R4                     // stacksize = 8192KB
    	MOVV	$_rt0_loong64_linux_lib_go(SB), R5
    	MOVV	R4, 8(R3)
    	MOVV	R5, 16(R3)
    	MOVV	$runtime·newosproc0(SB), R19
    	JAL	(R19)
    
    restore:
    	// Restore callee-save registers.
    	RESTORE_R22_TO_R31(3*8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 10 15:50:43 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/runtime/rt0_netbsd_arm64.s

    	MOVD	$_rt0_arm64_netbsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_netbsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    	// Restore callee-save registers.
    	RESTORE_R19_TO_R28(24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. src/runtime/rt0_openbsd_arm64.s

    	MOVD	$_rt0_arm64_openbsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_openbsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    	// Restore callee-save registers.
    	RESTORE_R19_TO_R28(24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. src/runtime/rt0_freebsd_riscv64.s

    	MOV	_cgo_sys_thread_create(SB), T0
    	BEQZ	T0, nocgo
    	MOV	$_rt0_riscv64_freebsd_lib_go(SB), A0
    	MOV	$0, A1
    	JALR	RA, T0
    	JMP	restore
    
    nocgo:
    	MOV	$0x800000, A0                     // stacksize = 8192KB
    	MOV	$_rt0_riscv64_freebsd_lib_go(SB), A1
    	MOV	A0, 8(X2)
    	MOV	A1, 16(X2)
    	MOV	$runtime·newosproc0(SB), T0
    	JALR	RA, T0
    
    restore:
    	// Restore callee-save registers, along with X1 (LR).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:17:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top