- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTracebackParentChildGoroutines (0.39 sec)
-
src/runtime/traceback_test.go
// Poison the arg area with deterministic values. // //go:noinline func poisonStack() [20]int { return [20]int{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1} } func TestTracebackParentChildGoroutines(t *testing.T) { parent := fmt.Sprintf("goroutine %d", runtime.Goid()) var wg sync.WaitGroup wg.Add(1) go func() { defer wg.Done() buf := make([]byte, 1<<10)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0)