- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SimpleDeadlock (0.13 sec)
-
src/runtime/testdata/testprog/deadlock.go
import ( "fmt" "runtime" "runtime/debug" "time" ) func init() { registerInit("InitDeadlock", InitDeadlock) registerInit("NoHelperGoroutines", NoHelperGoroutines) register("SimpleDeadlock", SimpleDeadlock) register("LockedDeadlock", LockedDeadlock) register("LockedDeadlock2", LockedDeadlock2) register("GoexitDeadlock", GoexitDeadlock) register("StackOverflow", StackOverflow)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 27 20:44:24 UTC 2021 - 6.5K bytes - Viewed (0) -
src/runtime/crash_test.go
if !strings.HasPrefix(output, want) { t.Fatalf("output does not start with %q:\n%s", want, output) } } func TestSimpleDeadlock(t *testing.T) { testDeadlock(t, "SimpleDeadlock") } func TestInitDeadlock(t *testing.T) { testDeadlock(t, "InitDeadlock") } func TestLockedDeadlock(t *testing.T) { testDeadlock(t, "LockedDeadlock") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0)