Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for blockMutexDeep (0.11 sec)

  1. src/runtime/pprof/pprof_test.go

    	}()
    	<-ch
    }
    
    // blockMutexDeep produces a block profile event at stack depth n, including the
    // caller.
    func blockMutexDeep(t *testing.T, n int) {
    	if n > 1 {
    		blockMutexDeep(t, n-1)
    		return
    	}
    	var mu sync.Mutex
    	go func() {
    		mu.Lock()
    		mu.Lock()
    	}()
    	awaitBlockedGoroutine(t, "sync.Mutex.Lock", "blockMutexDeep", 1)
    	mu.Unlock()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top