Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/mgc.go

    	go func(cleanup func()) {
    		for {
    			<-uniqueMapCleanup
    			cleanup()
    		}
    	}(f)
    }
    
    func clearpools() {
    	// clear sync.Pools
    	if poolcleanup != nil {
    		poolcleanup()
    	}
    
    	// clear boringcrypto caches
    	for _, p := range boringCaches {
    		atomicstorep(p, nil)
    	}
    
    	// clear unique maps
    	if uniqueMapCleanup != nil {
    		select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top