- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CgoExternalThreadSignal (0.19 sec)
-
src/runtime/testdata/testprogcgo/threadprof.go
import ( "fmt" "os" "os/exec" "runtime" "sync/atomic" "time" "unsafe" ) func init() { register("CgoExternalThreadSIGPROF", CgoExternalThreadSIGPROF) register("CgoExternalThreadSignal", CgoExternalThreadSignal) } func CgoExternalThreadSIGPROF() { // This test intends to test that sending SIGPROF to foreign threads // before we make any cgo call will not abort the whole process, so
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 22:43:54 UTC 2023 - 2.4K bytes - Viewed (0) -
src/runtime/crash_cgo_test.go
t.Parallel() // issue 10139 switch runtime.GOOS { case "plan9", "windows": t.Skipf("no pthreads on %s", runtime.GOOS) } got := runTestProg(t, "testprogcgo", "CgoExternalThreadSignal") if want := "OK\n"; got != want { if runtime.GOOS == "ios" && strings.Contains(got, "C signal did not crash as expected") { testenv.SkipFlaky(t, 59913) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 22.2K bytes - Viewed (1)