- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CgoExecSignalMask (0.23 sec)
-
src/runtime/testdata/testprogcgo/exec.go
} */ import "C" import ( "fmt" "io/fs" "os" "os/exec" "os/signal" "sync" "syscall" ) func init() { register("CgoExecSignalMask", CgoExecSignalMask) } func CgoExecSignalMask() { if len(os.Args) > 2 && os.Args[2] == "testsigint" { if C.SIGINTBlocked() != 0 { os.Exit(1) } os.Exit(0) } c := make(chan os.Signal, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 2.1K bytes - Viewed (0) -
src/runtime/crash_cgo_test.go
t.Parallel() // Test issue 13164. switch runtime.GOOS { case "windows", "plan9": t.Skipf("skipping signal mask test on %s", runtime.GOOS) } got := runTestProg(t, "testprogcgo", "CgoExecSignalMask", "GOTRACEBACK=system") want := "OK\n" if got != want { t.Errorf("expected %q, got %v", want, got) } } func TestEnsureDropM(t *testing.T) { t.Parallel() // Test for issue 13881.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 22.2K bytes - Viewed (0)