Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for runNext (0.14 sec)

  1. src/runtime/proc.go

    func runqget(pp *p) (gp *g, inheritTime bool) {
    	// If there's a runnext, it's the next G to run.
    	next := pp.runnext
    	// If the runnext is non-0 and the CAS fails, it could only have been stolen by another P,
    	// because other Ps can race to set runnext to 0, but only the current P can set it to non-0.
    	// Hence, there's no need to retry this CAS if it fails.
    	if next != 0 && pp.runnext.cas(next, 0) {
    		return next.ptr(), true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/runtime/sema.go

    		}
    		if handoff && cansemacquire(addr) {
    			s.ticket = 1
    		}
    		readyWithTime(s, 5+skipframes)
    		if s.ticket == 1 && getg().m.locks == 0 {
    			// Direct G handoff
    			// readyWithTime has added the waiter G as runnext in the
    			// current P; we now call the scheduler so that we start running
    			// the waiter G immediately.
    			// Note that waiter inherits our time slice: this is desirable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	goidcache    uint64
    	goidcacheend uint64
    
    	// Queue of runnable goroutines. Accessed without lock.
    	runqhead uint32
    	runqtail uint32
    	runq     [256]guintptr
    	// runnext, if non-nil, is a runnable G that was ready'd by
    	// the current G and should be run next instead of what's in
    	// runq if there's time remaining in the running G's time
    	// slice. It will inherit the time left in the current time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    		if scanBytes+gp.gcAssistBytes >= 0 {
    			// Satisfy this entire assist debt.
    			scanBytes += gp.gcAssistBytes
    			gp.gcAssistBytes = 0
    			// It's important that we *not* put gp in
    			// runnext. Otherwise, it's possible for user
    			// code to exploit the GC worker's high
    			// scheduler priority to get itself always run
    			// before other goroutines and always in the
    			// fresh quantum started by GC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/runtime/mgcscavenge.go

    		// Ready the goroutine by injecting it. We use injectglist instead
    		// of ready or goready in order to allow us to run this function
    		// without a P. injectglist also avoids placing the goroutine in
    		// the current P's runnext slot, which is desirable to prevent
    		// the scavenger from interfering with user goroutine scheduling
    		// too much.
    		var list gList
    		list.push(s.g)
    		injectglist(&list)
    	}
    	unlock(&s.lock)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. src/runtime/mgc.go

    		// N.B. we intentionally wait on each goroutine individually
    		// rather than starting all in a batch and then waiting once
    		// afterwards. By running one goroutine at a time, we can take
    		// advantage of runnext to bounce back and forth between
    		// workers and this goroutine. In an overloaded application,
    		// this can reduce GC start latency by prioritizing these
    		// goroutines rather than waiting on the end of the run queue.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionInfoProvider/FirIdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("annotatedExpr.kt")
      public void testAnnotatedExpr() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/annotatedExpr.kt");
      }
    
      @Test
      @TestMetadata("annotatedExprAnnotation.kt")
      public void testAnnotatedExprAnnotation() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/annotatedExprAnnotation.kt");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/expressionInfoProvider/FirStandaloneNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("annotatedExpr.kt")
      public void testAnnotatedExpr() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/annotatedExpr.kt");
      }
    
      @Test
      @TestMetadata("annotatedExprAnnotation.kt")
      public void testAnnotatedExprAnnotation() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/annotatedExprAnnotation.kt");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("annotatedExpr.kt")
      public void testAnnotatedExpr() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/annotatedExpr.kt");
      }
    
      @Test
      @TestMetadata("annotatedExprAnnotation.kt")
      public void testAnnotatedExprAnnotation() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/annotatedExprAnnotation.kt");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeDependentAnalysisSourceModuleExpectedExpressionTypeTestGenerated.java

      public void testAnnotationPositionalArgument() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/annotationPositionalArgument.kt");
      }
    
      @Test
      @TestMetadata("arrayAccessExpressionGet.kt")
      public void testArrayAccessExpressionGet() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Apr 24 09:25:50 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top