- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for goroutineDeep (0.15 sec)
-
src/runtime/pprof/pprof_test.go
mu.Lock() mu.Lock() }() awaitBlockedGoroutine(t, "sync.Mutex.Lock", "blockMutexDeep", 1) mu.Unlock() } // goroutineDeep blocks at stack depth n, including the caller until the test is // finished. func goroutineDeep(t *testing.T, n int) { if n > 1 { goroutineDeep(t, n-1) return } wait := make(chan struct{}, 1) t.Cleanup(func() { wait <- struct{}{} }) <-wait }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0)