Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runtime_blockUntilEmptyFinalizerQueue (0.74 sec)

  1. src/sync/oncefunc_test.go

    }
    
    // gcwaitfin performs garbage collection and waits for all finalizers to run.
    func gcwaitfin() {
    	runtime.GC()
    	runtime_blockUntilEmptyFinalizerQueue(math.MaxInt64)
    }
    
    //go:linkname runtime_blockUntilEmptyFinalizerQueue runtime.blockUntilEmptyFinalizerQueue
    func runtime_blockUntilEmptyFinalizerQueue(int64) bool
    
    var (
    	onceFunc = sync.OnceFunc(func() {})
    
    	onceFuncOnce sync.Once
    )
    
    func doOnceFunc() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top