Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for thr_kill (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/runtime/os_openbsd.go

    		throw("remapping stack memory failed")
    	}
    }
    
    //go:nosplit
    func raise(sig uint32) {
    	thrkill(getthrid(), int(sig))
    }
    
    func signalM(mp *m, sig int) {
    	thrkill(int32(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: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd2.go

    //go:nosplit
    //go:cgo_unsafe_args
    func raiseproc(sig uint32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(raiseproc_trampoline)), unsafe.Pointer(&sig))
    }
    func raiseproc_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func thrkill(tid int32, sig int) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(thrkill_trampoline)), unsafe.Pointer(&tid))
    }
    func thrkill_trampoline()
    
    // mmap is used to do low-level memory allocation via mmap. Don't allow stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/runtime/os_openbsd_syscall2.go

    func kqueue() int32
    
    //go:noescape
    func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32
    
    func raiseproc(sig uint32)
    
    func getthrid() int32
    func thrkill(tid int32, sig int)
    
    // read calls the read system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    func read(fd int32, p unsafe.Pointer, n int32) int32
    
    func closefd(fd int32) int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top