- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 386 for signalM (0.16 sec)
-
src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go
// This program hung when run under the C/C++ ThreadSanitizer. TSAN defers // asynchronous signals until the signaled thread calls into libc. The runtime's // sysmon goroutine idles itself using direct usleep syscalls, so it could // run for an arbitrarily long time without triggering the libc interceptors. // See https://golang.org/issue/18717. import ( "os" "os/signal" "syscall" ) /* #cgo CFLAGS: -g -fsanitize=thread
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go
type lifecycleSignal interface { // Signal signals the event, indicating that the event has occurred. // Signal is idempotent, once signaled the event stays signaled and // it immediately unblocks any goroutine waiting for this event. Signal() // Signaled returns a channel that is closed when the underlying event // has been signaled. Successive calls to Signaled return the same value. Signaled() <-chan struct{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 15:49:30 UTC 2023 - 7.8K bytes - Viewed (0) -
src/syscall/syscall_js.go
} // A Signal is a number describing a process signal. // It implements the [os.Signal] interface. type Signal int const ( _ Signal = iota SIGCHLD SIGINT SIGKILL SIGTRAP SIGQUIT SIGTERM ) func (s Signal) Signal() {} func (s Signal) String() string { if 0 <= s && int(s) < len(signals) { str := signals[s] if str != "" { return str }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 6.7K bytes - Viewed (0) -
src/runtime/sigqueue.go
} } } // signalWaitUntilIdle waits until the signal delivery mechanism is idle. // This is used to ensure that we do not drop a signal notification due // to a race between disabling a signal and receiving a signal. // This assumes that signal delivery has already been disabled for // the signal(s) in question, and here we are just waiting to make sure // that all the signals have been delivered to the user channels
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.6K bytes - Viewed (0) -
src/runtime/os_aix.go
exit(1) } if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 { writeErrStr(failthreadcreate) exit(1) } // Disable signals during create, so that the new thread starts // with signals disabled. It will enable them in minit. sigprocmask(_SIG_SETMASK, &sigset_all, &oset) var ret int32 for tries := 0; tries < 20; tries++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/libgo5/libgo5.go
package main import "C" import ( "os" "os/signal" "syscall" "time" ) // The channel used to read SIGIO signals. var sigioChan chan os.Signal // CatchSIGIO starts catching SIGIO signals. // //export CatchSIGIO func CatchSIGIO() { sigioChan = make(chan os.Signal, 1) signal.Notify(sigioChan, syscall.SIGIO) } // ResetSIGIO stops catching SIGIO signals. // //export ResetSIGIO func ResetSIGIO() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 986 bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/libgo3/libgo3.go
package main import "C" import ( "os" "os/signal" "syscall" "time" ) // The channel used to read SIGIO signals. var sigioChan chan os.Signal // CatchSIGIO starts catching SIGIO signals. // //export CatchSIGIO func CatchSIGIO() { sigioChan = make(chan os.Signal, 1) signal.Notify(sigioChan, syscall.SIGIO) } // ResetSIGIO stops catching SIGIO signals. // //export ResetSIGIO func ResetSIGIO() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1020 bytes - Viewed (0) -
src/runtime/os_wasm.go
// Called from exitm, but not from drop, to undo the effect of thread-owned // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. func mdestroy(mp *m) { } // wasm has no signals const _NSIG = 0 func signame(sig uint32) string { return "" } func crash() { *(*int32)(nil) = 0 } func initsig(preinit bool) { } // May run with m.p==nil, so write barriers are not allowed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main5.c
if (verbose) { printf("attempting external signal test\n"); } fprintf(stderr, "OK\n"); fflush(stderr); // The program should be interrupted before // this sleep finishes. We use select rather // than sleep because in older versions of // glibc the sleep function does some signal // fiddling to handle SIGCHLD. If this // program is fiddling signals just when the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/eviction/api/types.go
OpLessThan ThresholdOperator = "LessThan" ) // OpForSignal maps Signals to ThresholdOperators. // Today, the only supported operator is "LessThan". This may change in the future, // for example if "consumed" (as opposed to "available") type signals are added. // In both cases the directionality of the threshold is implicit to the signal type // (for a given signal, the decision to evict will be made when crossing the threshold
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 5.7K bytes - Viewed (0)