Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 199 for signalfd (0.17 sec)

  1. pkg/kubelet/eviction/helpers_test.go

    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    					Signal: evictionapi.SignalPIDAvailable,
    				},
    				{
    					Signal: evictionapi.SignalMemoryAvailable,
    				},
    			},
    			expected: []evictionapi.Threshold{
    				{
    					Signal: evictionapi.SignalMemoryAvailable,
    				},
    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    const (
    	_SigNotify   = 1 << iota // let signal.Notify have signal, even if from kernel
    	_SigKill                 // if signal.Notify doesn't take it, exit quietly
    	_SigThrow                // if signal.Notify doesn't take it, exit loudly
    	_SigPanic                // if the signal is from the kernel, panic
    	_SigDefault              // if the signal isn't explicitly requested, don't monitor it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. src/os/exec_plan9.go

    	"runtime"
    	"syscall"
    	"time"
    )
    
    // The only signal values guaranteed to be present in the os package
    // on all systems are Interrupt (send the process an interrupt) and
    // Kill (force the process to exit). Interrupt is not implemented on
    // Windows; using it with [os.Process.Signal] will return an error.
    var (
    	Interrupt Signal = syscall.Note("interrupt")
    	Kill      Signal = syscall.Note("kill")
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/os/exec_unix.go

    	}
    	p.pidDeactivate(statusDone)
    	return &ProcessState{
    		pid:    pid1,
    		status: status,
    		rusage: &rusage,
    	}, nil
    }
    
    func (p *Process) signal(sig Signal) error {
    	s, ok := sig.(syscall.Signal)
    	if !ok {
    		return errors.New("os: unsupported signal type")
    	}
    
    	// Which type of Process do we have?
    	switch p.mode {
    	case modeHandle:
    		// pidfd
    		return p.pidfdSendSignal(s)
    	case modePID:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml

          terminated:
            containerID: containerIDValue
            exitCode: 1
            finishedAt: "2006-01-01T01:01:01Z"
            message: messageValue
            reason: reasonValue
            signal: 2
            startedAt: "2005-01-01T01:01:01Z"
          waiting:
            message: messageValue
            reason: reasonValue
        name: nameValue
        ready: true
        resources:
          claims:
          - name: nameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

                "message": "messageValue"
              },
              "running": {
                "startedAt": "2001-01-01T01:01:01Z"
              },
              "terminated": {
                "exitCode": 1,
                "signal": 2,
                "reason": "reasonValue",
                "message": "messageValue",
                "startedAt": "2005-01-01T01:01:01Z",
                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/runtime/os_plan9.go

    		return ""
    	}
    	return sigtable[sig].name
    }
    
    const preemptMSupported = false
    
    func preemptM(mp *m) {
    	// Not currently supported.
    	//
    	// TODO: Use a note like we use signals on POSIX OSes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/sync/cond.go

    	runtime_notifyListWait(&c.notify, t)
    	c.L.Lock()
    }
    
    // Signal wakes one goroutine waiting on c, if there is any.
    //
    // It is allowed but not required for the caller to hold c.L
    // during the call.
    //
    // Signal() does not affect goroutine scheduling priority; if other goroutines
    // are attempting to lock c.L, they may be awoken before a "waiting" goroutine.
    func (c *Cond) Signal() {
    	c.checker.check()
    	runtime_notifyListNotifyOne(&c.notify)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.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 { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. src/os/exec.go

    	// may not execute properly or even compile on some
    	// operating systems.
    	Sys *syscall.SysProcAttr
    }
    
    // A Signal represents an operating system signal.
    // The usual underlying implementation is operating system-dependent:
    // on Unix it is syscall.Signal.
    type Signal interface {
    	String() string
    	Signal() // to distinguish from other Stringers
    }
    
    // Getpid returns the process id of the caller.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top