Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allPools (0.12 sec)

  1. src/sync/pool.go

    	// Move primary cache to victim cache.
    	for _, p := range allPools {
    		p.victim = p.local
    		p.victimSize = p.localSize
    		p.local = nil
    		p.localSize = 0
    	}
    
    	// The pools with non-empty primary caches now have non-empty
    	// victim caches and no pools have primary caches.
    	oldPools, allPools = allPools, nil
    }
    
    var (
    	allPoolsMu Mutex
    
    	// allPools is the set of pools that have non-empty primary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top