Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for thr_kill (0.29 sec)

  1. src/runtime/os_freebsd.go

    //
    // It must be nosplit because it is used by the signal handler before
    // it definitely has a Go stack.
    //
    //go:nosplit
    func raise(sig uint32) {
    	thr_kill(thr_self(), int(sig))
    }
    
    func signalM(mp *m, sig int) {
    	thr_kill(thread(mp.procid), sig)
    }
    
    // sigPerThreadSyscall is only used on linux, so we assign a bogus signal
    // number.
    const sigPerThreadSyscall = 1 << 31
    
    //go:nosplit
    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

    	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)
    TEXT runtime·thr_kill(SB),NOSPLIT,$0-16
    	MOVD	tid+0(FP), R0	// arg 1 pid
    	MOVD	sig+8(FP), R1	// arg 2 sig
    	MOVD	$SYS_thr_kill, R8
    	SVC
    	RET
    
    // func raiseproc(sig uint32)
    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

    	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
    
    TEXT runtime·raiseproc(SB),NOSPLIT,$16
    	// getpid
    	MOVL	$SYS_getpid, AX
    	INT	$0x80
    	// kill(self, sig)
    	MOVL	AX, 4(SP)
    	MOVL	sig+0(FP), AX
    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

    	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)
    TEXT runtime·thr_kill(SB),NOSPLIT,$0-16
    	MOV	tid+0(FP), A0	// arg 1 pid
    	MOV	sig+8(FP), A1	// arg 2 sig
    	MOV	$SYS_thr_kill, T0
    	ECALL
    	RET
    
    // func raiseproc(sig uint32)
    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

    	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
    	MOVW sig+4(FP), R1	// arg 2 signal
    	MOVW $SYS_thr_kill, R7
    	SWI $0
    	RET
    
    TEXT runtime·raiseproc(SB),NOSPLIT,$0
    	// getpid
    	MOVW $SYS_getpid, R7
    	SWI $0
    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/syscall/zsysnum_freebsd_386.go

    	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); }
    	SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(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)
  7. src/syscall/zsysnum_freebsd_arm.go

    	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); }
    	SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(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_amd64.go

    	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); }
    	SYS__UMTX_UNLOCK             = 435 // { int _umtx_unlock(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/runtime/sys_freebsd_amd64.s

    	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
    	MOVQ	sig+8(FP), SI	// arg 2 sig
    	MOVL	$SYS_thr_kill, AX
    	SYSCALL
    	RET
    
    TEXT runtime·raiseproc(SB),NOSPLIT,$0
    	// getpid
    	MOVL	$SYS_getpid, AX
    	SYSCALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go

    	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); }
    	SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
    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