Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,052 for signalfd (0.17 sec)

  1. src/runtime/cpuprof.go

    	log  *profBuf // profile events written here
    
    	// extra holds extra stacks accumulated in addNonGo
    	// corresponding to profiling signals arriving on
    	// non-Go-created threads. Those stacks are written
    	// to log the next time a normal Go thread gets the
    	// signal handler.
    	// Assuming the stacks are 2 words each (we don't get
    	// a full traceback from those threads), plus one word
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/syscall/syscall_wasip1.go

    	return e == EINTR || e == EMFILE || e.Timeout()
    }
    
    func (e Errno) Timeout() bool {
    	return e == EAGAIN || e == ETIMEDOUT
    }
    
    // A Signal is a number describing a process signal.
    // It implements the [os.Signal] interface.
    type Signal uint8
    
    const (
    	SIGNONE Signal = iota
    	SIGHUP
    	SIGINT
    	SIGQUIT
    	SIGILL
    	SIGTRAP
    	SIGABRT
    	SIGBUS
    	SIGFPE
    	SIGKILL
    	SIGUSR1
    	SIGSEGV
    	SIGUSR2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. pkg/queue/instance.go

    }
    
    // Instance of work tickets processed using a rate-limiting loop
    type baseInstance interface {
    	// Push a task.
    	Push(task Task)
    	// Run the loop until a signal on the channel
    	Run(<-chan struct{})
    	// Closed returns a chan that will be signaled when the Instance has stopped processing tasks.
    	Closed() <-chan struct{}
    }
    
    type Instance interface {
    	baseInstance
    	// HasSynced returns true once the queue has synced.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/runtime/sys_linux_ppc64x.s

    	MOVD	R1, R4
    
    	// Store g on gsignal's stack, so if we receive a signal
    	// during VDSO code we can find the g.
    	// If we don't have a signal stack, we won't receive signal,
    	// so don't bother saving g.
    	// When using cgo, we already saved g on TLS, also don't save
    	// g here.
    	// Also don't save g if we are already on the signal stack.
    	// We won't get a nested signal.
    	MOVBZ	runtime·iscgo(SB), R22
    	CMP	R22, $0
    	BNE	nosaveg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    		return -1
    	}
    	return int(w >> shift)
    }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
    
    func (w WaitStatus) Signal() syscall.Signal {
    	sig := syscall.Signal(w & mask)
    	if sig == stopped || sig == 0 {
    		return -1
    	}
    	return sig
    }
    
    func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/pprof_callback.go

    }
    
    //export goCallbackPprof
    func goCallbackPprof() {
    	// No-op. We want to stress the cgocall and cgocallback internals,
    	// landing as many pprof signals there as possible.
    }
    
    func CgoPprofCallback() {
    	// Issue 50936 was a crash in the SIGPROF handler when the signal
    	// arrived during the exitsyscall following a cgocall(back) in dropg or
    	// execute, when updating mp.curg.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 08 15:44:05 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/helpers.go

    func parseGracePeriods(statements map[string]string) (map[evictionapi.Signal]time.Duration, error) {
    	if len(statements) == 0 {
    		return nil, nil
    	}
    	results := map[evictionapi.Signal]time.Duration{}
    	for signal, val := range statements {
    		signal := evictionapi.Signal(signal)
    		if !validSignal(signal) {
    			return nil, fmt.Errorf(unsupportedEvictionSignal, signal)
    		}
    		gracePeriod, err := time.ParseDuration(val)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  8. src/go/doc/testdata/testing.go

    			}
    			t := &T{
    				common: common{
    					signal: make(chan any),
    				},
    				name:          testName,
    				startParallel: startParallel,
    			}
    			t.self = t
    			if *chatty {
    				fmt.Printf("=== RUN %s\n", t.name)
    			}
    			go tRunner(t, &tests[i])
    			out := (<-t.signal).(*T)
    			if out == nil { // Parallel run.
    				go func() {
    					collector <- <-t.signal
    				}()
    				numParallel++
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  9. src/runtime/vdso_test.go

    		t.Logf("%s", out)
    	}
    	if err != nil {
    		if err := err.(*exec.ExitError); err != nil && err.Sys().(syscall.WaitStatus).Signaled() {
    			if !bytes.Contains(out, []byte("+++ killed by")) {
    				// strace itself occasionally crashes.
    				// Here, it exited with a signal, but
    				// the strace log didn't report any
    				// signal from the child process.
    				t.Log(err)
    				testenv.SkipFlaky(t, 63734)
    			}
    		}
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/syscall/zerrors_aix_ppc64.go

    	SIGGRANT    = Signal(0x3c)
    	SIGHUP      = Signal(0x1)
    	SIGILL      = Signal(0x4)
    	SIGINT      = Signal(0x2)
    	SIGIO       = Signal(0x17)
    	SIGIOINT    = Signal(0x10)
    	SIGIOT      = Signal(0x6)
    	SIGKAP      = Signal(0x3c)
    	SIGKILL     = Signal(0x9)
    	SIGLOST     = Signal(0x6)
    	SIGMAX      = Signal(0xff)
    	SIGMAX32    = Signal(0x3f)
    	SIGMAX64    = Signal(0xff)
    	SIGMIGRATE  = Signal(0x23)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 16:18:12 UTC 2019
    - 47.2K bytes
    - Viewed (0)
Back to top