- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 199 for signalfd (0.13 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh
} printf("}\n\n"); printf("\n\n// Signal table\n"); printf("var signalList = [...]struct {\n"); printf("\tnum syscall.Signal\n"); printf("\tname string\n"); printf("\tdesc string\n"); printf("} {\n"); qsort(signals, nelem(signals), sizeof signals[0], tuplecmp); for(i=0; i<nelem(signals); i++) { e = signals[i].num; if(i > 0 && signals[i-1].num == e) continue;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 20.2K bytes - Viewed (0) -
src/runtime/signal_unix.go
flags = sigtable[sig].flags } // If the signal is ignored, raising the signal is no-op. if handler == _SIG_IGN || (handler == _SIG_DFL && flags&_SigIgn != 0) { return } // Reset the signal handler and raise the signal. // We are currently running inside a signal handler, so the // signal is blocked. We need to unblock it before raising the // signal, or the signal we raise will be ignored until we return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/os/signal/doc.go
asynchronous signal, a Go signal handler will be installed for that signal. If, later, Reset is called for that signal, the original handling for that signal will be reinstalled, restoring the non-Go signal handler if any. Go code built without -buildmode=c-archive or -buildmode=c-shared will install a signal handler for the asynchronous signals listed above, and save any existing signal handler. If a signal is delivered to a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:11:00 UTC 2024 - 11K bytes - Viewed (0) -
src/os/exec_posix.go
res = "exit status " + itoa.Uitox(uint(code)) } else { // unix systems use small decimal integers res = "exit status " + itoa.Itoa(code) // unix } case status.Signaled(): res = "signal: " + status.Signal().String() case status.Stopped(): res = "stop signal: " + status.StopSignal().String() if status.StopSignal() == syscall.SIGTRAP && status.TrapCause() != 0 { res += " (trap " + itoa.Itoa(status.TrapCause()) + ")" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.7K bytes - Viewed (0) -
src/os/exec_test.go
signal.Notify(c, os.Interrupt) defer signal.Stop(c) p := &os.Process{Pid: os.Getpid()} if err := p.Signal(os.Interrupt); err != nil { t.Fatalf("Signal got err %v, want nil", err) } // Verify we actually received the signal. select { case <-time.After(1 * time.Second): t.Error("timeout waiting for signal") case <-c: // Good } } func TestProcessReleaseTwice(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/preempt.go
// the thread using an OS mechanism (e.g., signals) and inspecting its // state to determine if the goroutine was at an asynchronous // safe-point. Since the thread suspension itself is generally // asynchronous, it also checks if the running goroutine wants to be // preempted, since this could have changed. If all conditions are // satisfied, it adjusts the signal context to make it look like the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K 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/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/syscall/zerrors_solaris_amd64.go
SIGIO = Signal(0x16) SIGIOT = Signal(0x6) SIGJVM1 = Signal(0x27) SIGJVM2 = Signal(0x28) SIGKILL = Signal(0x9) SIGLOST = Signal(0x25) SIGLWP = Signal(0x21) SIGPIPE = Signal(0xd) SIGPOLL = Signal(0x16) SIGPROF = Signal(0x1d) SIGPWR = Signal(0x13) SIGQUIT = Signal(0x3) SIGSEGV = Signal(0xb) SIGSTOP = Signal(0x17) SIGSYS = Signal(0xc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 50.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.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)