Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stackpool (0.08 sec)

  1. src/runtime/stack.go

    	for order := range stackpool {
    		lock(&stackpool[order].item.mu)
    		list := &stackpool[order].item.span
    		for s := list.first; s != nil; {
    			next := s.next
    			if s.allocCount == 0 {
    				list.remove(s)
    				s.manualFreeList = 0
    				osStackFree(s)
    				mheap_.freeManual(s, spanAllocStack)
    			}
    			s = next
    		}
    		unlock(&stackpool[order].item.mu)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top