Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fixsigcode (0.32 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	t.Errorf("program succeeded unexpectedly %d times", tries)
    }
    
    func TestSignalForwardingGo(t *testing.T) {
    	// This test fails on darwin-amd64 because of the special
    	// handling of user-generated SIGSEGV signals in fixsigcode in
    	// runtime/signal_darwin_amd64.go.
    	if runtime.GOOS == "darwin" && runtime.GOARCH == "amd64" {
    		t.Skip("not supported on darwin-amd64")
    	}
    	globalSkip(t)
    
    	checkSignalForwardingTest(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top