Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for traceLockInit (0.16 sec)

  1. src/runtime/traceruntime.go

    	inSweep bool
    
    	// swept and reclaimed track the number of bytes swept and reclaimed
    	// by sweeping in the current sweep loop (while maySweep was true).
    	swept, reclaimed uintptr
    }
    
    // traceLockInit initializes global trace locks.
    func traceLockInit() {
    	// Sharing a lock rank here is fine because they should never be accessed
    	// together. If they are, we want to find out immediately.
    	lockInit(&trace.stringTab[0].lock, lockRankTraceStrings)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top