Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sa_handler (0.2 sec)

  1. src/runtime/os_freebsd.go

    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. src/runtime/os_linux.go

    		sa.sa_restorer = abi.FuncPCABI0(sigreturn__sigaction)
    	}
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		if iscgo {
    			fn = abi.FuncPCABI0(cgoSigtramp)
    		} else {
    			fn = abi.FuncPCABI0(sigtramp)
    		}
    	}
    	sa.sa_handler = fn
    	sigaction(i, &sa, nil)
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsigstack(i uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/runtime/signal_unix.go

    				setsigstack(i)
    			} else if fwdSig[i] == _SIG_IGN {
    				sigInitIgnored(i)
    			}
    			continue
    		}
    
    		handlingSig[i] = 1
    		setsig(i, abi.FuncPCABIInternal(sighandler))
    	}
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigInstallGoHandler(sig uint32) bool {
    	// For some signals, we respect an inherited SIG_IGN handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/runtime/os_darwin.go

    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa usigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = ^uint32(0)
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		if iscgo {
    			fn = abi.FuncPCABI0(cgoSigtramp)
    		} else {
    			fn = abi.FuncPCABI0(sigtramp)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. src/runtime/os_netbsd.go

    //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
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		fn = abi.FuncPCABI0(sigtramp)
    	}
    	sa.sa_sigaction = fn
    	sigaction(i, &sa, nil)
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/runtime/os3_solaris.go

    //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
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		fn = abi.FuncPCABI0(sigtramp)
    	}
    	*((*uintptr)(unsafe.Pointer(&sa._funcptr))) = fn
    	sigaction(i, &sa, nil)
    }
    
    //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_windows.go

    			*((*uintptr)(sp)) = r.ip()
    		}
    	}
    	r.set_ip(abi.FuncPCABI0(sigpanic0))
    	return _EXCEPTION_CONTINUE_EXECUTION
    }
    
    // sehhandler is reached as part of the SEH chain.
    //
    // It is nosplit for the same reason as exceptionhandler.
    //
    //go:nosplit
    func sehhandler(_ *exceptionrecord, _ uint64, _ *context, dctxt *_DISPATCHER_CONTEXT) int32 {
    	g0 := getg()
    	if g0 == nil || g0.m.curg == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  8. testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy

                            handleHeadJar(response)
                            request.handled = true
                        }
                    }
                }
                server.setHandler(new HandlerCollection(false, handler))
                server.start()
            }
    
            @Override
            protected void after() {
                server.stop()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/vcweb/vcweb.go

    			"dir":      new(dirHandler),
    			"bzr":      new(bzrHandler),
    			"fossil":   new(fossilHandler),
    			"git":      new(gitHandler),
    			"hg":       new(hgHandler),
    			"insecure": new(insecureHandler),
    			"svn":      &svnHandler{svnRoot: workDir, logger: logger},
    		},
    	}
    
    	if err := os.WriteFile(filepath.Join(s.homeDir, ".gitconfig"), []byte(gitConfig), 0644); err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. pkg/kube/inject/webhook.go

    	mu           sync.RWMutex
    	Config       *Config
    	meshConfig   *meshconfig.MeshConfig
    	valuesConfig ValuesConfig
    	namespaces   *multicluster.KclientComponent[*corev1.Namespace]
    
    	// please do not call SetHandler() on this watcher, instead us MultiCast.AddHandler()
    	watcher   Watcher
    	MultiCast *WatcherMulticast
    
    	env      *model.Environment
    	revision string
    }
    
    func (wh *Webhook) GetConfig() WebhookConfig {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top