Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeValid (0.08 sec)

  1. tests/prepared_stmt_test.go

    	}
    
    	loopCount := 100
    	var wg sync.WaitGroup
    	var lastErr error
    	closeValid := make(chan struct{}, loopCount)
    	closeStartIdx := loopCount / 2 // close the database at the middle of the execution
    	var lastRunIndex int
    	var closeFinishedAt int64
    
    	wg.Add(1)
    	go func(id uint) {
    		defer wg.Done()
    		defer close(closeValid)
    		for lastRunIndex = 1; lastRunIndex <= loopCount; lastRunIndex++ {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top