Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for thr_exit (0.28 sec)

  1. src/runtime/sys_freebsd_386.s

    DATA exitStack<>+0x04(SB)/4, $0
    
    // func exitThread(wait *atomic.Uint32)
    TEXT runtime·exitThread(SB),NOSPLIT,$0-4
    	MOVL	wait+0(FP), AX
    	// We're done using the stack.
    	MOVL	$0, (AX)
    	// thr_exit takes a single pointer argument, which it expects
    	// on the stack. We want to pass 0, so switch over to a fake
    	// stack of 0s. It won't write to the stack.
    	MOVL	$exitStack<>(SB), SP
    	MOVL	$SYS_thr_exit, AX
    	INT	$0x80
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top