- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 506 for signalM (0.15 sec)
-
src/cmd/cgo/internal/testsanitizers/testdata/msan8.go
// This will be called when a signal occurs. void msanGoTraceback(void* parg) { struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg); arg->buf[0] = 0; } // msanGoWait will be called with all registers undefined as far as // msan is concerned. It just waits for a signal. // Because the registers are msan-undefined, the signal handler will // be invoked with all registers msan-undefined.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:30:58 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/sigprocmask.go
extern int RunSigThread(); extern int CheckBlocked(); */ import "C" import ( "os" "os/signal" "syscall" "testing" ) var blocked bool //export IntoGoAndBack func IntoGoAndBack() { // Verify that SIGIO stays blocked on the C thread // even when unblocked for signal.Notify(). signal.Notify(make(chan os.Signal), syscall.SIGIO) blocked = C.CheckBlocked() != 0 } func testSigprocmask(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 808 bytes - Viewed (0) -
src/cmd/cgo/internal/test/setgid_linux.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 843 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/sigchanyzer.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package sigchanyzer defines an Analyzer that detects // misuse of unbuffered signal as argument to signal.Notify. package sigchanyzer import ( "bytes" _ "embed" "go/ast" "go/format" "go/token" "go/types" "golang.org/x/tools/go/analysis" "golang.org/x/tools/go/analysis/passes/inspect"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 3.8K bytes - Viewed (0) -
src/os/exec_unix.go
} p.pidDeactivate(statusDone) return &ProcessState{ pid: pid1, status: status, rusage: &rusage, }, nil } func (p *Process) signal(sig Signal) error { s, ok := sig.(syscall.Signal) if !ok { return errors.New("os: unsupported signal type") } // Which type of Process do we have? switch p.mode { case modeHandle: // pidfd return p.pidfdSendSignal(s) case modePID:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/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: Fri Dec 15 04:12:07 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLockReleasedSignal.java
*/ package org.gradle.cache; /** * Signal that a file lock has been released. * * @see org.gradle.cache.internal.locklistener.FileLockContentionHandler */ public interface FileLockReleasedSignal { /** * Triggers this signal to notify the lock requesters that the file * lock has been released. * * <p>Returns once the signal has been emitted but not necessarily
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/go/stop_other_test.go
package main_test import ( "os" "runtime" ) // quitSignal returns the appropriate signal to use to request that a process // quit execution. func quitSignal() os.Signal { if runtime.GOOS == "windows" { // Per https://golang.org/pkg/os/#Signal, “Interrupt is not implemented on // Windows; using it with os.Process.Signal will return an error.” // Fall back to Kill instead. return os.Kill } return os.Interrupt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 628 bytes - Viewed (0) -
src/os/signal/signal_windows_test.go
func TestCtrlBreak(t *testing.T) { // create source file const source = ` package main import ( "log" "os" "os/signal" "time" ) func main() { c := make(chan os.Signal, 10) signal.Notify(c) select { case s := <-c: if s != os.Interrupt { log.Fatalf("Wrong signal received: got %q, want %q\n", s, os.Interrupt) } case <-time.After(3 * time.Second):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 21 23:07:55 UTC 2023 - 1.9K bytes - Viewed (0) -
src/os/file_posix.go
return nil } // ignoringEINTR makes a function call and repeats it if it returns an // EINTR error. This appears to be required even though we install all // signal handlers with SA_RESTART: see #22838, #38033, #38836, #40846. // Also #20400 and #36644 are issues in which a signal handler is // installed without setting SA_RESTART. None of these are the common case, // but there are enough of them that it seems that we can't avoid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 7.1K bytes - Viewed (0)