Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allocBlock (0.3 sec)

  1. src/runtime/proc.go

    func addExtraM(mp *m) {
    	mnext := lockextra(true)
    	mp.schedlink.set(mnext)
    	unlockextra(mp, 1)
    }
    
    var (
    	// allocmLock is locked for read when creating new Ms in allocm and their
    	// addition to allm. Thus acquiring this lock for write blocks the
    	// creation of new Ms.
    	allocmLock rwmutex
    
    	// execLock serializes exec and clone to avoid bugs or unspecified
    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