Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 805 for goroutineID (1.19 sec)

  1. src/runtime/coro.go

    // a goroutine blocked on it. If another goroutine calls coroswitch(c),
    // the caller becomes the goroutine blocked in c, and the goroutine
    // formerly blocked in c starts running.
    // These switches continue until a call to coroexit(c),
    // which ends the use of the coro by releasing the blocked
    // goroutine in c and exiting the current goroutine.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/testprog/wait-on-pipe.go

    	}
    	rfd, wfd := p[0], p[1]
    
    	// Create a goroutine that blocks on the pipe.
    	done := make(chan struct{})
    	go func() {
    		var data [1]byte
    		_, err := syscall.Read(rfd, data[:])
    		if err != nil {
    			log.Fatalf("failed to read from pipe: %v", err)
    		}
    		done <- struct{}{}
    	}()
    
    	// Give the goroutine ample chance to block on the pipe.
    	time.Sleep(10 * time.Millisecond)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/trace/threadgen.go

    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    	if from.Executing() && !to.Executing() {
    		if to == trace.GoWaiting {
    			// Goroutine started blocking.
    			gs.block(ev.Time(), ev.Stack(), st.Reason, ctx)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/runtime/race/output_test.go

    WARNING: DATA RACE
    Write at 0x[0-9,a-f]+ by goroutine [0-9]:
      main\.store\(\)
          .+/main\.go:14 \+0x[0-9,a-f]+
      main\.racer\(\)
          .+/main\.go:23 \+0x[0-9,a-f]+
    
    Previous write at 0x[0-9,a-f]+ by main goroutine:
      main\.store\(\)
          .+/main\.go:14 \+0x[0-9,a-f]+
      main\.main\(\)
          .+/main\.go:10 \+0x[0-9,a-f]+
    
    Goroutine [0-9] \(running\) created at:
      main\.startRacer\(\)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. pkg/scheduler/metrics/metric_recorder.go

    // and the metricsRecorder goroutine.
    type metric struct {
    	metric      *metrics.HistogramVec
    	labelValues []string
    	value       float64
    }
    
    // MetricAsyncRecorder records metric in a separate goroutine to avoid overhead in the critical path.
    type MetricAsyncRecorder struct {
    	// bufferCh is a channel that serves as a metrics buffer before the metricsRecorder goroutine reports it.
    	bufferCh chan *metric
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 16 07:27:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/runtime/sigqueue.go

    //
    // The wanted and ignored fields are only written by one goroutine at
    // a time; access is controlled by the handlers Mutex in os/signal.
    // The fields are only read by that one goroutine and by the signal handler.
    // We access them atomically to minimize the race between setting them
    // in the goroutine calling os/signal and the signal handler,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/pilot-dashboard.gen.json

                      "uid": "$datasource"
                   },
                   "expr": "sum by (pod) (\n  go_goroutines{app=\"istiod\"}\n)",
                   "legendFormat": "Goroutines ({{pod}})"
                }
             ],
             "title": "Goroutines",
             "type": "timeseries"
          },
          {
             "collapsed": false,
             "gridPos": {
                "h": 1,
                "w": 24,
                "x": 0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-syscall-steal-proc-sitting-in-syscall.go

    // Tests syscall P stealing from a goroutine and thread
    // that have been in a syscall the entire generation.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// Steal proc from a goroutine that's been blocked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 946 bytes
    - Viewed (0)
  9. src/cmd/trace/gen.go

    	var startStack, endStack trace.Stack
    	goroutine := trace.NoGoroutine
    	startTime, endTime := ctx.startTime, ctx.endTime
    	if region.Start != nil {
    		startStack = region.Start.Stack()
    		startTime = region.Start.Time()
    		goroutine = region.Start.Goroutine()
    	}
    	if region.End != nil {
    		endStack = region.End.Stack()
    		endTime = region.End.Time()
    		goroutine = region.End.Goroutine()
    	}
    	if goroutine == trace.NoGoroutine {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/runtime/traceback_system_test.go

    			}
    			continue
    		}
    
    		// Search for "goroutine GID [STATUS]"
    		if !on {
    			if strings.HasPrefix(line, "goroutine ") &&
    				strings.Contains(line, " [running]:") {
    				on = true
    
    				if parentSentinel == 0 {
    					return nil, fmt.Errorf("no sentinel value in crash report")
    				}
    			}
    			continue
    		}
    
    		// A blank line marks end of a goroutine stack.
    		if line == "" {
    			break
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top