Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 68 of 68 for WaitGroup (0.14 sec)

  1. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	infos, err := globalSiteReplicationSys.GetClusterInfo(ctx)
    	if err != nil {
    		return results, err
    	}
    	var wg sync.WaitGroup
    	var resultsMu sync.RWMutex
    	for _, info := range infos.Sites {
    		info := info
    		// will call siteNetperf, means call others's adminAPISiteReplicationDevNull
    		if globalDeploymentID() == info.DeploymentID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioBucketCollector) Collect(out chan<- prometheus.Metric) {
    	var wg sync.WaitGroup
    	publish := func(in <-chan MetricV2) {
    		defer wg.Done()
    		for metric := range in {
    			labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    			collectMetric(metric, labels, values, "bucket", out)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	var traceOpts madmin.ServiceTraceOpts
    	err := json.Unmarshal(payload, &traceOpts)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	var wg sync.WaitGroup
    
    	// Trace Publisher uses nonblocking publish and hence does not wait for slow subscribers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    	}
    
    	var wg sync.WaitGroup
    	// Remove buckets that are in DNS for this server, but aren't local
    	for bucket, records := range dnsBuckets {
    		if bucketsSet.Contains(bucket) {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	// The purpose this block is not to check for correctness of functionality
    	// Run the test with -race flag to utilize this
    	var wg sync.WaitGroup
    	for i := 0; i < testConcurrencyLevel; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			// HTTP request to create the bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	testUploads := struct {
    		sync.Mutex
    		uploads []string
    	}{}
    
    	objectName := "test-object-new-multipart-parallel"
    	var wg sync.WaitGroup
    	for i := 0; i < 10; i++ {
    		wg.Add(1)
    		// Initiate NewMultipart upload on the same object 10 times concurrrently.
    		go func() {
    			defer wg.Done()
    			rec := httptest.NewRecorder()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg sync, method (*RWMutex) RLock()
    pkg sync, method (*RWMutex) RLocker() Locker
    pkg sync, method (*RWMutex) RUnlock()
    pkg sync, method (*RWMutex) Unlock()
    pkg sync, method (*WaitGroup) Add(int)
    pkg sync, method (*WaitGroup) Done()
    pkg sync, method (*WaitGroup) Wait()
    pkg sync, type Cond struct
    pkg sync, type Cond struct, L Locker
    pkg sync, type Locker interface { Lock, Unlock }
    pkg sync, type Locker interface, Lock()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top