Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 805 for goroutineID (0.18 sec)

  1. src/runtime/lock_js.go

    // and then parks the handler goroutine to allow other goroutines to run before giving execution back to JavaScript.
    // When no other goroutine is awake any more, beforeIdle resumes the handler goroutine. Now that the same goroutine
    // is running as was running when the call came in from JavaScript, execution can be safely passed back to JavaScript.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go

    // This implementation tracks active goroutines:
    // the given counter is decremented for a goroutine waiting for this
    // varible to be set and incremented when such a goroutine is
    // unblocked.
    type countingPromise struct {
    	lock          sync.Locker
    	cond          sync.Cond
    	activeCounter counter.GoRoutineCounter // counter of active goroutines
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 10 14:37:53 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. src/runtime/proc_test.go

    			// receiver will be blocking when the send occurs when
    			// the goroutines execute in parallel.)
    			//
    			// In each iteration of the benchmark, each goroutine
    			// acts once as sender and once as receiver, so each
    			// goroutine spins for delay twice.
    			//
    			// BenchmarkWakeupParallel is used to estimate how
    			// efficiently the scheduler parallelizes goroutines in
    			// the presence of blocking:
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/numgoroutine.go

    	// Test that there are just the expected number of goroutines
    	// running. Specifically, test that the spare M's goroutine
    	// doesn't show up.
    	if _, ok := checkNumGoroutine("first", 1+baseGoroutines); !ok {
    		return
    	}
    
    	// Test that the goroutine for a callback from C appears.
    	if C.CheckNumGoroutine(); !callbackok {
    		return
    	}
    
    	// Make sure we're back to the initial goroutines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    //
    // Some goroutines (the finalizer goroutine, which at various times can be
    // either a "system" or a "user" goroutine, and the goroutine that is
    // coordinating the profile, any goroutines created during the profile) move
    // directly to the "Satisfied" state.
    type goroutineProfileState uint32
    
    const (
    	goroutineProfileAbsent goroutineProfileState = iota
    	goroutineProfileInProgress
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. src/internal/trace/trace_test.go

    				delete(gs, ev.Goroutine())
    			}
    			// Track state transitions for goroutines we care about.
    			//
    			// The goroutines we care about will advance through the state machine
    			// of entered -> blocked -> runnable -> running. If in the running state
    			// we block, then we have a futile wakeup. Because of the runtime.Gosched
    			// on these specially marked goroutines, we should end up back in runnable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/http.go

    </p>
    
    <ul>
    <li><a href="/goroutines">Goroutine analysis</a></li>
    </ul>
    <p>
      This view displays information about each set of goroutines that
      shares the same main function.
    
      Clicking on a main function shows links to the four types of
      blocking profile (see below) applied to that subset of goroutines.
    
      It also shows a table of specific goroutine instances, with various
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. src/sync/waitgroup.go

    	"internal/race"
    	"sync/atomic"
    	"unsafe"
    )
    
    // A WaitGroup waits for a collection of goroutines to finish.
    // The main goroutine calls [WaitGroup.Add] to set the number of
    // goroutines to wait for. Then each of the goroutines
    // runs and calls [WaitGroup.Done] when finished. At the same time,
    // [WaitGroup.Wait] can be used to block until all goroutines have finished.
    //
    // A WaitGroup must not be copied after first use.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. doc/go_mem.html

    Some, such as atomic compare-and-swap, are both read-like and write-like.
    </p>
    
    <p>
    A <i>goroutine execution</i> is modeled as a set of memory operations executed by a single goroutine.
    </p>
    
    <p>
    <b>Requirement 1</b>:
    The memory operations in each goroutine must correspond to a correct sequential execution of that goroutine,
    given the values read from and written to memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/cmd/trace/pprof.go

    			if stack == trace.NoStack {
    				continue
    			}
    
    			// The state transition has to apply to a goroutine.
    			st := ev.StateTransition()
    			if st.Resource.Kind != trace.ResourceGoroutine {
    				continue
    			}
    			id := st.Resource.Goroutine()
    			_, new := st.Goroutine()
    
    			// Check if we're tracking this goroutine.
    			startEv := tracking[id]
    			if startEv == nil {
    				// We're not. Start tracking if the new state
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top