- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,052 for signalfd (0.18 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/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
} return int(w>>shift) & 0xFF } func (w WaitStatus) Signal() syscall.Signal { if !w.Signaled() { return -1 } return syscall.Signal(w & mask) } func (w WaitStatus) StopSignal() syscall.Signal { if !w.Stopped() { return -1 } return syscall.Signal(w>>shift) & 0xFF } func (w WaitStatus) TrapCause() int { if w.StopSignal() != SIGTRAP { return -1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0) -
src/os/signal/signal.go
// signals no longer need to be diverted to the context. func NotifyContext(parent context.Context, signals ...os.Signal) (ctx context.Context, stop context.CancelFunc) { ctx, cancel := context.WithCancel(parent) c := &signalCtx{ Context: ctx, cancel: cancel, signals: signals, } c.ch = make(chan os.Signal, 1) Notify(c.ch, c.signals...) if ctx.Err() == nil { go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/ctrlz/topics/assets/templates/signals.html
{{ define "content" }} <p> Send signals to the running process. </p> <br> <button class="btn btn-istio" onclick="sendSIGUSR1()">SIGUSR1</button> {{ template "last-refresh" .}} <script> "use strict"; function sendSIGUSR1() { let url = window.location.protocol + "//" + window.location.host + "/signalj/SIGUSR1"; let ajax = new XMLHttpRequest(); ajax.onload = onload;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 687 bytes - Viewed (0) -
pkg/ctrlz/topics/signals.go
// SignalsTopic returns a ControlZ topic that sends command signals to the process func SignalsTopic() fw.Topic { return signalsTopic{} } func (signalsTopic) Title() string { return "Signals" } func (signalsTopic) Prefix() string { return "signal" } func (signalsTopic) Activate(context fw.TopicContext) { tmpl := assets.ParseTemplate(context.Layout(), "templates/signals.html")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 07 17:12:24 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/signal.go
limitations under the License. */ package server import ( "context" "os" "os/signal" ) var onlyOneSignalHandler = make(chan struct{}) var shutdownHandler chan os.Signal // SetupSignalHandler registered for SIGTERM and SIGINT. A stop channel is returned // which is closed on one of these signals. If a second signal is caught, the program // is terminated with exit code 1.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 06 14:30:27 UTC 2020 - 2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go
if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func signalfd(fd int, sigmask *Sigset_t, maskSize uintptr, flags int) (newfd int, err error) { r0, _, e1 := Syscall6(SYS_SIGNALFD4, uintptr(fd), uintptr(unsafe.Pointer(sigmask)), uintptr(maskSize), uintptr(flags), 0, 0) newfd = int(r0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 54.6K bytes - Viewed (0) -
cmd/signals.go
exit(stopProcess()) case osSignal := <-globalOSSignalCh: logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String())) daemon.SdNotify(false, daemon.SdNotifyStopping) exit(stopProcess()) case signal := <-globalServiceSignalCh: switch signal { case serviceRestart: logger.Info("Restarting on service signal") daemon.SdNotify(false, daemon.SdNotifyReloading) stop := stopProcess()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/go/internal/base/signal.go
// license that can be found in the LICENSE file. package base import ( "os" "os/signal" "sync" ) // Interrupted is closed when the go command receives an interrupt signal. var Interrupted = make(chan struct{}) // processSignals setups signal handler. func processSignals() { sig := make(chan os.Signal, 1) signal.Notify(sig, signalsToIgnore...) go func() { <-sig close(Interrupted) }() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 02 16:43:58 UTC 2020 - 663 bytes - Viewed (0) -
pkg/scheduler/internal/cache/debugger/signal.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 785 bytes - Viewed (0)