- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 506 for signalM (0.41 sec)
-
src/cmd/go/internal/base/signal_notunix.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 419 bytes - Viewed (0) -
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) -
src/cmd/cgo/internal/testcarchive/testdata/main3.c
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test os/signal.Notify and os/signal.Reset. // This is a lot like ../testcshared/main5.c. #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sched.h> #include <unistd.h> #include <pthread.h> #include "libgo3.h"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 3.9K bytes - Viewed (0) -
test/chan/select3.go
// Calls f and verifies that f always/never panics depending on signal. func testPanic(signal string, f func()) { defer func() { s := never if recover() != nil { s = always // f panicked } if s != signal { panic(signal + " panic") } }() f() } // Calls f and empirically verifies that f always/never blocks depending on signal. func testBlock(signal string, f func()) { c := make(chan string) go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 08 02:10:12 UTC 2017 - 4.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go
package plan9 import ( "bytes" "syscall" "unsafe" ) // A Note is a string describing a process note. // It implements the os.Signal interface. type Note string func (n Note) Signal() {} func (n Note) String() string { return string(n) } var ( Stdin = 0 Stdout = 1 Stderr = 2 ) // For testing: clients can set this flag to force
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 7K bytes - Viewed (0) -
pkg/util/goroutinemap/goroutinemap.go
// the lock is acquired first when operationCompletes begins, and is // released when the method finishes, after the lock is released cond is // signaled to wake waiting goroutine. defer grm.cond.Signal() grm.lock.Lock() defer grm.lock.Unlock() if *err == nil || !grm.exponentialBackOffOnError { // Operation completed without error, or exponentialBackOffOnError disabled
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 16 11:54:27 UTC 2020 - 6.8K bytes - Viewed (0) -
src/os/exec/exec_unix_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 03:34:36 UTC 2022 - 313 bytes - Viewed (0) -
pkg/cmd/cmd.go
// limitations under the License. package cmd import ( "flag" "os" "os/signal" "syscall" "github.com/spf13/cobra" "github.com/spf13/pflag" "istio.io/istio/pkg/log" ) // WaitSignal awaits for SIGINT or SIGTERM and closes the channel func WaitSignal(stop chan struct{}) { sigs := make(chan os.Signal, 1) signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM) <-sigs close(stop) _ = log.Sync() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main5.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that a signal handler works in non-Go code when using // os/signal.Notify. // This is a lot like ../testcarchive/main3.c. #include <signal.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sched.h> #include <dlfcn.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go
return "" } type fakeSystemDBus struct { fakeDBusObject *fakeDBusObject signalChannel chan<- *dbus.Signal } func (f *fakeSystemDBus) Object(dest string, path dbus.ObjectPath) dbus.BusObject { return f.fakeDBusObject } func (f *fakeSystemDBus) Signal(ch chan<- *dbus.Signal) { f.signalChannel = ch } func (f *fakeSystemDBus) AddMatchSignal(options ...dbus.MatchOption) error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 29 19:50:06 UTC 2023 - 4.4K bytes - Viewed (0)