Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newExtra (0.15 sec)

  1. src/runtime/proc.go

    	if _cgo_pthread_key_created != nil && *(*uintptr)(_cgo_pthread_key_created) != 0 {
    		cgoBindM()
    	}
    }
    
    // newextram allocates m's and puts them on the extra list.
    // It is called with a working local m, so that it can do things
    // like call schedlock and allocate.
    func newextram() {
    	c := extraMWaiters.Swap(0)
    	if c > 0 {
    		for i := uint32(0); i < c; i++ {
    			oneNewExtraM()
    		}
    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