- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 708 for signalfd (0.15 sec)
-
src/runtime/cgo/gcc_signal_ios_arm64.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Emulation of the Unix signal SIGSEGV. // // On iOS, Go tests and apps under development are run by lldb. // The debugger uses a task-level exception handler to intercept signals. // Despite having a 'handle' mechanism like gdb, lldb will not allow a // SIGSEGV to pass to the running program. For Go, this means we cannot
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:04:22 UTC 2024 - 6K bytes - Viewed (0) -
src/syscall/exec_pdeathsig_test.go
} cmd.Wait() os.Exit(0) } func deathSignalChild() { c := make(chan os.Signal, 1) signal.Notify(c, syscall.SIGUSR1) go func() { <-c fmt.Println("ok") os.Exit(0) }() fmt.Println("start") buf := make([]byte, 32) os.Stdin.Read(buf) // We expected to be signaled before stdin closed fmt.Println("not ok") os.Exit(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 21:23:17 UTC 2023 - 4.5K bytes - Viewed (0) -
src/syscall/syscall_bsd.go
} func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 } func (w WaitStatus) Signal() Signal { sig := Signal(w & mask) if sig == stopped || sig == 0 { return -1 } return sig } func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 } func (w WaitStatus) Stopped() bool { return w&mask == stopped && Signal(w>>shift) != SIGSTOP }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 13.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
src/os/signal/signal_cgo_test.go
// with its controlling terminal shall cause the process group // to be sent a SIGTTOU signal. If the calling thread is // blocking SIGTTOU signals or the process is ignoring SIGTTOU // signals, the process shall be allowed to perform the // operation, and no signal is sent." // -https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 10.7K bytes - Viewed (0)