Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runtime_pollServerInit (0.23 sec)

  1. src/internal/poll/fd_poll_runtime.go

    	"time"
    	_ "unsafe" // for go:linkname
    )
    
    // runtimeNano returns the current value of the runtime clock in nanoseconds.
    //
    //go:linkname runtimeNano runtime.nanotime
    func runtimeNano() int64
    
    func runtime_pollServerInit()
    func runtime_pollOpen(fd uintptr) (uintptr, int)
    func runtime_pollClose(ctx uintptr)
    func runtime_pollWait(ctx uintptr, mode int) int
    func runtime_pollWaitCanceled(ctx uintptr, mode int)
    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

    	pollcache      pollCache
    	netpollWaiters atomic.Uint32
    )
    
    // netpollWaiters is accessed in tests
    //go:linkname netpollWaiters
    
    //go:linkname poll_runtime_pollServerInit internal/poll.runtime_pollServerInit
    func poll_runtime_pollServerInit() {
    	netpollGenericInit()
    }
    
    func netpollGenericInit() {
    	if netpollInited.Load() == 0 {
    		lockInit(&netpollInitLock, lockRankNetpollInit)
    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