Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for http2goroutineLock (0.53 sec)

  1. src/net/http/h2_bundle.go

    }
    
    var http2DebugGoroutines = os.Getenv("DEBUG_HTTP2_GOROUTINES") == "1"
    
    type http2goroutineLock uint64
    
    func http2newGoroutineLock() http2goroutineLock {
    	if !http2DebugGoroutines {
    		return 0
    	}
    	return http2goroutineLock(http2curGoroutineID())
    }
    
    func (g http2goroutineLock) check() {
    	if !http2DebugGoroutines {
    		return
    	}
    	if http2curGoroutineID() != uint64(g) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top