Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for thr_self (0.2 sec)

  1. src/runtime/os_freebsd.go

    //go:noescape
    func setitimer(mode int32, new, old *itimerval)
    
    //go:noescape
    func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
    
    func raiseproc(sig uint32)
    
    func thr_self() thread
    func thr_kill(tid thread, sig int)
    
    //go:noescape
    func sys_umtx_op(addr *uint32, mode int32, val uint32, uaddr1 uintptr, ut *umtx_time) int32
    
    func osyield()
    
    //go:nosplit
    func osyield_no_g() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. src/runtime/sys_freebsd_arm64.s

    	MUL	R3, R4
    	SUB	R4, R5
    	MOVW	$1000, R4
    	MUL	R4, R5
    	MOVD	R5, 16(RSP)
    
    	// nanosleep(&ts, 0)
    	ADD	$8, RSP, R0
    	MOVD	$0, R1
    	MOVD	$SYS_nanosleep, R8
    	SVC
    	RET
    
    // func thr_self() thread
    TEXT runtime·thr_self(SB),NOSPLIT,$8-8
    	MOVD	$ptr-8(SP), R0	// arg 1 &8(SP)
    	MOVD	$SYS_thr_self, R8
    	SVC
    	MOVD	ptr-8(SP), R0
    	MOVD	R0, ret+0(FP)
    	RET
    
    // func thr_kill(t thread, sig int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/runtime/sys_freebsd_386.s

    TEXT runtime·write1(SB),NOSPLIT,$-4
    	MOVL	$SYS_write, AX
    	INT	$0x80
    	JAE	2(PC)
    	NEGL	AX			// caller expects negative errno
    	MOVL	AX, ret+12(FP)
    	RET
    
    TEXT runtime·thr_self(SB),NOSPLIT,$8-4
    	// thr_self(&0(FP))
    	LEAL	ret+0(FP), AX
    	MOVL	AX, 4(SP)
    	MOVL	$SYS_thr_self, AX
    	INT	$0x80
    	RET
    
    TEXT runtime·thr_kill(SB),NOSPLIT,$-4
    	// thr_kill(tid, sig)
    	MOVL	$SYS_thr_kill, AX
    	INT	$0x80
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. src/runtime/sys_freebsd_riscv64.s

    	MUL	A1, A0, A0
    	MOV	$1000000000, A1
    	DIV	A1, A0, A2
    	MOV	A2, 8(X2)
    	REM	A1, A0, A3
    	MOV	A3, 16(X2)
    	ADD	$8, X2, A0
    	MOV	ZERO, A1
    	MOV	$SYS_nanosleep, T0
    	ECALL
    	RET
    
    // func thr_self() thread
    TEXT runtime·thr_self(SB),NOSPLIT,$8-8
    	MOV	$ptr-8(SP), A0	// arg 1 &8(SP)
    	MOV	$SYS_thr_self, T0
    	ECALL
    	MOV	ptr-8(SP), A0
    	MOV	A0, ret+0(FP)
    	RET
    
    // func thr_kill(t thread, sig int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. src/runtime/sys_freebsd_arm.s

    TEXT runtime·closefd(SB),NOSPLIT|NOFRAME,$0
    	MOVW fd+0(FP), R0	// arg 1 fd
    	MOVW $SYS_close, R7
    	SWI $0
    	MOVW.CS	$-1, R0
    	MOVW	R0, ret+4(FP)
    	RET
    
    TEXT runtime·thr_self(SB),NOSPLIT,$0-4
    	// thr_self(&0(FP))
    	MOVW $ret+0(FP), R0 // arg 1
    	MOVW $SYS_thr_self, R7
    	SWI $0
    	RET
    
    TEXT runtime·thr_kill(SB),NOSPLIT,$0-8
    	// thr_kill(tid, sig)
    	MOVW tid+0(FP), R0	// arg 1 id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. src/runtime/sys_freebsd_amd64.s

    	MOVL	n+16(FP), DX		// arg 3 count
    	MOVL	$SYS_write, AX
    	SYSCALL
    	JCC	2(PC)
    	NEGQ	AX			// caller expects negative errno
    	MOVL	AX, ret+24(FP)
    	RET
    
    TEXT runtime·thr_self(SB),NOSPLIT,$0-8
    	// thr_self(&0(FP))
    	LEAQ	ret+0(FP), DI	// arg 1
    	MOVL	$SYS_thr_self, AX
    	SYSCALL
    	RET
    
    TEXT runtime·thr_kill(SB),NOSPLIT,$0-16
    	// thr_kill(tid, sig)
    	MOVQ	tid+0(FP), DI	// arg 1 id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_freebsd_386.go

    	SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
    	SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
    	SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
    	SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
    	SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_freebsd_arm.go

    	SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
    	SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
    	SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
    	SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
    	SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, \
    	SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
    	SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
    	SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
    	SYS__UMTX_LOCK               = 434 // { int _umtx_lock(struct umtx *umtx); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go

    	SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); }
    	SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); }
    	SYS_THR_SELF                 = 432 // { int thr_self(long *id); }
    	SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); }
    	SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
Back to top