Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for fixsigcode (0.23 sec)

  1. src/runtime/signal_darwin_arm64.go

    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) {
    	c.info.si_addr = (*byte)(unsafe.Pointer(uintptr(x)))
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    	switch sig {
    	case _SIGTRAP:
    		// OS X sets c.sigcode() == TRAP_BRKPT unconditionally for all SIGTRAPs,
    		// leaving no way to distinguish a breakpoint-induced SIGTRAP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:03:24 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  2. src/runtime/signal_darwin_amd64.go

    func (c *sigctxt) set_rsp(x uint64)     { c.regs().rsp = x }
    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) { c.info.si_addr = x }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    	switch sig {
    	case _SIGTRAP:
    		// OS X sets c.sigcode() == TRAP_BRKPT unconditionally for all SIGTRAPs,
    		// leaving no way to distinguish a breakpoint-induced SIGTRAP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 23:07:11 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. src/runtime/os_openbsd.go

    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	*mask |= 1 << (uint32(i) - 1)
    }
    
    func sigdelset(mask *sigset, i int) {
    	*mask &^= 1 << (uint32(i) - 1)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //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)
  4. src/runtime/os_dragonfly.go

    	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) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. src/runtime/os_aix.go

    // setSignalstackSP sets the ss_sp field of a stackt.
    //
    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	*(*uintptr)(unsafe.Pointer(&s.ss_sp)) = sp
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    	switch sig {
    	case _SIGPIPE:
    		// For SIGPIPE, c.sigcode() isn't set to _SI_USER as on Linux.
    		// Therefore, raisebadsignal won't raise SIGPIPE again if
    		// it was deliver in a non-Go thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/runtime/os_netbsd.go

    	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) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    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/os_freebsd.go

    	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) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //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)
  8. src/runtime/os3_solaris.go

    	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) {
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    	setThreadCPUProfilerHz(hz)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/runtime/signal_unix.go

    			// The default behavior for sigPreempt is to ignore
    			// the signal, so badsignal will be a no-op anyway.
    			if GOOS == "darwin" || GOOS == "ios" {
    				pendingPreemptSignals.Add(-1)
    			}
    			return
    		}
    		c.fixsigcode(sig)
    		// Set g to nil here and badsignal will use g0 by needm.
    		// TODO: reuse the current m here by using the gsignal and adjustSignalStack,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/runtime/os_linux.go

    // setSignalstackSP sets the ss_sp field of a stackt.
    //
    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	*(*uintptr)(unsafe.Pointer(&s.ss_sp)) = sp
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    // sysSigaction calls the rt_sigaction system call.
    //
    //go:nosplit
    func sysSigaction(sig uint32, new, old *sigactiont) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top