Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for markDrained (0.1 sec)

  1. src/runtime/mgcsweep.go

    			}
    			return
    		}
    	}
    }
    
    // markDrained marks the active sweep cycle as having drained
    // all remaining work. This is safe to be called concurrently
    // with all other methods of activeSweep, though may race.
    //
    // Returns true if this call was the one that actually performed
    // the mark.
    func (a *activeSweep) markDrained() bool {
    	for {
    		state := a.state.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top