Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unblocksig (0.21 sec)

  1. src/net/http/h2_bundle.go

    // larger struct and have the Mutex and Cond's memory in the same
    // allocation.
    func (cw *http2closeWaiter) Init() {
    	*cw = make(chan struct{})
    }
    
    // Close marks the closeWaiter as closed and unblocks any waiters.
    func (cw http2closeWaiter) Close() {
    	close(cw)
    }
    
    // Wait waits for the closeWaiter to become closed.
    func (cw http2closeWaiter) Wait() {
    	<-cw
    }
    
    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