Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRacePool (0.09 sec)

  1. src/runtime/race/testdata/pool_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package race_test
    
    import (
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestRacePool(t *testing.T) {
    	// Pool randomly drops the argument on the floor during Put.
    	// Repeat so that at least one iteration gets reuse.
    	for i := 0; i < 10; i++ {
    		c := make(chan int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 933 bytes
    - Viewed (0)
Back to top