Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Loaduintptr (0.17 sec)

  1. src/runtime/proc.go

    	return allgs[:len(allgs):len(allgs)]
    }
    
    // atomicAllG returns &allgs[0] and len(allgs) for use with atomicAllGIndex.
    func atomicAllG() (**g, uintptr) {
    	length := atomic.Loaduintptr(&allglen)
    	ptr := (**g)(atomic.Loadp(unsafe.Pointer(&allgptr)))
    	return ptr, length
    }
    
    // atomicAllGIndex returns ptr[i] with the allgptr returned from atomicAllG.
    func atomicAllGIndex(ptr **g, i uintptr) *g {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top