Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 140 for ss_flags (0.1 sec)

  1. src/runtime/defs1_netbsd_386.go

    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo  int32
    	_code   int32
    	_errno  int32
    	_reason [20]byte
    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int32
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/runtime/defs1_netbsd_amd64.go

    }
    
    type siginfo struct {
    	_signo  int32
    	_code   int32
    	_errno  int32
    	_pad    int32
    	_reason [24]byte
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/defs_openbsd_arm.go

    }
    
    type siginfo struct {
    	si_signo  int32
    	si_code   int32
    	si_errno  int32
    	pad_cgo_0 [4]byte
    	_data     [120]byte
    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec    int64
    	tv_nsec   int32
    	pad_cgo_0 [4]byte
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/runtime/defs_freebsd_arm.go

    	rtp        *rtprio
    	spare      [3]uintptr
    }
    
    type thread int32 // long
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    	si_uid    uint32
    	si_status int32
    	si_addr   uintptr
    	si_value  [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/runtime/defs_freebsd_amd64.go

    	rtp        *rtprio
    	spare      [3]uintptr
    }
    
    type thread int64 // long
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    	si_uid    uint32
    	si_status int32
    	si_addr   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  6. src/runtime/defs_linux_amd64.go

    	significand [4]uint16
    	exponent    uint16
    }
    
    type stackt struct {
    	ss_sp     *byte
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type mcontext struct {
    	gregs       [23]uint64
    	fpregs      *fpstate
    	__reserved1 [8]uint64
    }
    
    type ucontext struct {
    	uc_flags     uint64
    	uc_link      *ucontext
    	uc_stack     stackt
    	uc_mcontext  mcontext
    	uc_sigmask   usigset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/runtime/os_netbsd.go

    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    	sa_sigaction uintptr
    	sa_mask      sigset
    	sa_flags     int32
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/runtime/signal_unix.go

    	sp := uintptr(unsafe.Pointer(&sig))
    	if sp >= mp.gsignal.stack.lo && sp < mp.gsignal.stack.hi {
    		return false
    	}
    
    	var st stackt
    	sigaltstack(nil, &st)
    	stsp := uintptr(unsafe.Pointer(st.ss_sp))
    	if st.ss_flags&_SS_DISABLE == 0 && sp >= stsp && sp < stsp+st.ss_size {
    		setGsignalStack(&st, gsigStack)
    		return true
    	}
    
    	if sp >= mp.g0.stack.lo && sp < mp.g0.stack.hi {
    		// The signal was delivered on the g0 stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. src/runtime/os_freebsd.go

    func sigtramp()
    
    type sigactiont struct {
    	sa_handler uintptr
    	sa_flags   int32
    	sa_mask    sigset
    }
    
    // See os_freebsd2.go, os_freebsd_amd64.go for setsig function
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsigstack(i uint32) {
    	var sa sigactiont
    	sigaction(i, nil, &sa)
    	if sa.sa_flags&_SA_ONSTACK != 0 {
    		return
    	}
    	sa.sa_flags |= _SA_ONSTACK
    	sigaction(i, &sa, nil)
    }
    
    //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)
  10. src/runtime/sys_darwin.go

    	KeepAlive(new)
    	KeepAlive(old)
    }
    func sigprocmask_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func sigaltstack(new *stackt, old *stackt) {
    	if new != nil && new.ss_flags&_SS_DISABLE != 0 && new.ss_size == 0 {
    		// Despite the fact that Darwin's sigaltstack man page says it ignores the size
    		// when SS_DISABLE is set, it doesn't. sigaltstack returns ENOMEM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top