Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for decPinCounter (0.11 sec)

  1. src/runtime/pinner.go

    		spanHasSpecials(span)
    	} else {
    		rec = (*specialPinCounter)(unsafe.Pointer(*ref))
    	}
    	rec.counter++
    }
    
    // decPinCounter decreases the counter. If the counter reaches 0, the counter
    // special is deleted and false is returned. Otherwise true is returned.
    func (span *mspan) decPinCounter(offset uintptr) bool {
    	ref, exists := span.specialFindSplicePoint(offset, _KindSpecialPinCounter)
    	if !exists {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top