Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WaitGroup (0.14 sec)

  1. src/cmd/api/main_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		nextFiles = next
    	}
    
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    
    	walkers := make([]*Walker, len(contexts))
    	var wg sync.WaitGroup
    	for i, context := range contexts {
    		i, context := i, context
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src"))
    		}()
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. doc/go_mem.html

    including <a href="/pkg/sync/#Cond">condition variables</a>,
    <a href="/pkg/sync/#Map">lock-free maps</a>,
    <a href="/pkg/sync/#Pool">allocation pools</a>,
    and
    <a href="/pkg/sync/#WaitGroup">wait groups</a>.
    The documentation for each of these specifies the guarantees it
    makes concerning synchronization.
    </p>
    
    <p>
    Other packages that provide synchronization abstractions
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top