Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isSweepDone (0.3 sec)

  1. src/runtime/mgcsweep.go

    	}
    
    	gp.m.locks--
    	return npages
    }
    
    // isSweepDone reports whether all spans are swept.
    //
    // Note that this condition may transition from false to true at any
    // time as the sweeper runs. It may transition from true to false if a
    // GC runs; to prevent that the caller must be non-preemptible or must
    // somehow block GC progress.
    func isSweepDone() bool {
    	return sweep.active.isDone()
    }
    
    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