Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 419 for signalfd (0.23 sec)

  1. src/syscall/syscall_aix.go

    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>8) & 0xFF
    }
    
    func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    		return -1
    	}
    	return int((w >> 8) & 0xFF)
    }
    
    func (w WaitStatus) Signaled() bool { return w&0x40 == 0 && w&0xFF != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/runtime/crash_cgo_test.go

    	case "plan9", "windows":
    		t.Skipf("no EINTR on %s", runtime.GOOS)
    	case "linux":
    		if runtime.GOARCH == "386" {
    			// On linux-386 the Go signal handler sets
    			// a restorer function that is not preserved
    			// by the C sigaction call in the test,
    			// causing the signal handler to crash when
    			// returning the normal code. The test is not
    			// architecture-specific, so just skip on 386
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  3. src/cmd/test2json/main.go

    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool test2json [-p pkg] [-t] [./pkg.test -test.v]\n")
    	os.Exit(2)
    }
    
    // ignoreSignals ignore the interrupt signals.
    func ignoreSignals() {
    	signal.Ignore(signalsToIgnore...)
    }
    
    func main() {
    	telemetry.Start()
    
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("test2json/invocations")
    	telemetry.CountFlags("test2json/flag:", *flag.CommandLine)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	SIGTSTP   = syscall.Signal(0x14)
    	SIGTTIN   = syscall.Signal(0x15)
    	SIGTTOU   = syscall.Signal(0x16)
    	SIGURG    = syscall.Signal(0x17)
    	SIGUSR1   = syscall.Signal(0xa)
    	SIGUSR2   = syscall.Signal(0xc)
    	SIGVTALRM = syscall.Signal(0x1a)
    	SIGWINCH  = syscall.Signal(0x1c)
    	SIGXCPU   = syscall.Signal(0x18)
    	SIGXFSZ   = syscall.Signal(0x19)
    )
    
    // Error table
    var errorList = [...]struct {
    	num  syscall.Errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    }
    
    // traverseAndHeal - traverses on-disk data and performs healing
    // according to settings. At each "safe" point it also checks if an
    // external quit signal has been received and quits if so. Since the
    // healing traversal may be mutating on-disk data when an external
    // quit signal is received, this routine cannot quit immediately and
    // has to wait until a safe point is reached, such as between scanning
    // two objects.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 18:04:41 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  6. src/runtime/os_wasm.go

    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    // wasm has no signals
    const _NSIG = 0
    
    func signame(sig uint32) string {
    	return ""
    }
    
    func crash() {
    	*(*int32)(nil) = 0
    }
    
    func initsig(preinit bool) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	SIGTSTP   = syscall.Signal(0x14)
    	SIGTTIN   = syscall.Signal(0x15)
    	SIGTTOU   = syscall.Signal(0x16)
    	SIGURG    = syscall.Signal(0x17)
    	SIGUSR1   = syscall.Signal(0xa)
    	SIGUSR2   = syscall.Signal(0xc)
    	SIGVTALRM = syscall.Signal(0x1a)
    	SIGWINCH  = syscall.Signal(0x1c)
    	SIGXCPU   = syscall.Signal(0x18)
    	SIGXFSZ   = syscall.Signal(0x19)
    )
    
    // Error table
    var errorList = [...]struct {
    	num  syscall.Errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	SIGUSR1   = Signal(16)
    	SIGUSR2   = Signal(17)
    	SIGABND   = Signal(18)
    	SIGCONT   = Signal(19)
    	SIGCHLD   = Signal(20)
    	SIGTTIN   = Signal(21)
    	SIGTTOU   = Signal(22)
    	SIGIO     = Signal(23)
    	SIGQUIT   = Signal(24)
    	SIGTSTP   = Signal(25)
    	SIGTRAP   = Signal(26)
    	SIGIOERR  = Signal(27)
    	SIGWINCH  = Signal(28)
    	SIGXCPU   = Signal(29)
    	SIGXFSZ   = Signal(30)
    	SIGVTALRM = Signal(31)
    	SIGPROF   = Signal(32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. cmd/service.go

    package cmd
    
    import (
    	"context"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    // Type of service signals currently supported.
    type serviceSignal int
    
    const (
    	serviceRestart       serviceSignal = iota // Restarts the server.
    	serviceStop                               // Stops the server.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    	}
    	return int(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) Signal() Signal {
    	if !w.Signaled() {
    		return -1
    	}
    	return Signal(w & mask)
    }
    
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int {
    	if w.StopSignal() != SIGTRAP {
    		return -1
    	}
    	return int(w>>shift) >> 8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top