Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runtime_pollUnblock (0.4 sec)

  1. src/internal/poll/fd_poll_runtime.go

    func runtime_pollWait(ctx uintptr, mode int) int
    func runtime_pollWaitCanceled(ctx uintptr, mode int)
    func runtime_pollReset(ctx uintptr, mode int) int
    func runtime_pollSetDeadline(ctx uintptr, d int64, mode int)
    func runtime_pollUnblock(ctx uintptr)
    func runtime_isPollServerDescriptor(fd uintptr) bool
    
    type pollDesc struct {
    	runtimeCtx uintptr
    }
    
    var serverInit sync.Once
    
    func (pd *pollDesc) init(fd *FD) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/runtime/netpoll.go

    	unlock(&pd.lock)
    	if rg != nil {
    		netpollgoready(rg, 3)
    	}
    	if wg != nil {
    		netpollgoready(wg, 3)
    	}
    	netpollAdjustWaiters(delta)
    }
    
    //go:linkname poll_runtime_pollUnblock internal/poll.runtime_pollUnblock
    func poll_runtime_pollUnblock(pd *pollDesc) {
    	lock(&pd.lock)
    	if pd.closing {
    		throw("runtime: unblock on closing polldesc")
    	}
    	pd.closing = true
    	pd.rseq++
    	pd.wseq++
    	var rg, wg *g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top