Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for sigset (0.15 sec)

  1. src/runtime/os_openbsd_syscall2.go

    // the stack is safe to reclaim.
    //
    //go:noescape
    func exitThread(wait *atomic.Uint32)
    
    //go:noescape
    func obsdsigprocmask(how int32, new sigset) sigset
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigprocmask(how int32, new, old *sigset) {
    	n := sigset(0)
    	if new != nil {
    		n = *new
    	}
    	r := obsdsigprocmask(how, n)
    	if old != nil {
    		*old = r
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/runtime/os_wasm.go

    	osyield()
    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    //go:nosplit
    func sigsave(p *sigset) {
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/defs_dragonfly_amd64.go

    	prio  uint16
    }
    
    type lwpparams struct {
    	start_func uintptr
    	arg        unsafe.Pointer
    	stack      uintptr
    	tid1       unsafe.Pointer // *int32
    	tid2       unsafe.Pointer // *int32
    }
    
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/os_openbsd.go

    	_EWOULDBLOCK = _EAGAIN
    	_ENOTSUP     = 91
    
    	// From OpenBSD's sys/time.h
    	_CLOCK_REALTIME  = 0
    	_CLOCK_VIRTUAL   = 1
    	_CLOCK_PROF      = 2
    	_CLOCK_MONOTONIC = 3
    )
    
    type sigset uint32
    
    var sigset_all = ^sigset(0)
    
    // From OpenBSD's <sys/sysctl.h>
    const (
    	_CTL_HW        = 6
    	_HW_NCPU       = 3
    	_HW_PAGESIZE   = 7
    	_HW_NCPUONLINE = 25
    )
    
    func sysctlInt(mib []uint32) (int32, bool) {
    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/os3_solaris.go

    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	*(*uintptr)(unsafe.Pointer(&s.ss_sp)) = sp
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	mask.__sigbits[(i-1)/32] |= 1 << ((uint32(i) - 1) & 31)
    }
    
    func sigdelset(mask *sigset, i int) {
    	mask.__sigbits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/runtime/os_netbsd.go

    //
    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	s.ss_sp = sp
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] |= 1 << ((uint32(i) - 1) & 31)
    }
    
    func sigdelset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/runtime/defs1_netbsd_386.go

    	_EV_CLEAR     = 0x20
    	_EV_RECEIPT   = 0
    	_EV_ERROR     = 0x4000
    	_EV_EOF       = 0x8000
    	_EVFILT_READ  = 0x0
    	_EVFILT_WRITE = 0x1
    	_EVFILT_USER  = 0x8
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo  int32
    	_code   int32
    	_errno  int32
    	_reason [20]byte
    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/runtime/defs1_netbsd_amd64.go

    	_EV_CLEAR     = 0x20
    	_EV_RECEIPT   = 0
    	_EV_ERROR     = 0x4000
    	_EV_EOF       = 0x8000
    	_EVFILT_READ  = 0x0
    	_EVFILT_WRITE = 0x1
    	_EVFILT_USER  = 0x8
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo  int32
    	_code   int32
    	_errno  int32
    	_pad    int32
    	_reason [24]byte
    }
    
    type stackt struct {
    	ss_sp     uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/runtime/defs1_netbsd_arm.go

    	_EV_CLEAR     = 0x20
    	_EV_RECEIPT   = 0
    	_EV_ERROR     = 0x4000
    	_EV_EOF       = 0x8000
    	_EVFILT_READ  = 0x0
    	_EVFILT_WRITE = 0x1
    	_EVFILT_USER  = 0x8
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo   int32
    	_code    int32
    	_errno   int32
    	_reason  uintptr
    	_reasonx [16]byte
    }
    
    type stackt struct {
    	ss_sp    uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/runtime/defs1_netbsd_arm64.go

    	_EV_CLEAR     = 0x20
    	_EV_RECEIPT   = 0
    	_EV_ERROR     = 0x4000
    	_EV_EOF       = 0x8000
    	_EVFILT_READ  = 0x0
    	_EVFILT_WRITE = 0x1
    	_EVFILT_USER  = 0x8
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo   int32
    	_code    int32
    	_errno   int32
    	_reason  uintptr
    	_reasonx [16]byte
    }
    
    type stackt struct {
    	ss_sp    uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top