Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 379 for suspendG (0.15 sec)

  1. src/runtime/preempt.go

    // complete the suspend until it was resumed. We would have to be
    // careful that they couldn't actually queue up suspend for each other
    // and then both be suspended. This would also avoid the need for a
    // kernel context switch in the synchronous case because we could just
    // directly schedule the waiter. The context switch is unavoidable in
    // the signal case.
    //
    //go:systemstack
    func suspendG(gp *g) suspendGState {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	// stack is owned by the goroutine that put it in _Gcopystack.
    	_Gcopystack // 8
    
    	// _Gpreempted means this goroutine stopped itself for a
    	// suspendG preemption. It is like _Gwaiting, but nothing is
    	// yet responsible for ready()ing it. Some suspendG must CAS
    	// the status to _Gwaiting to take responsibility for
    	// ready()ing this G.
    	_Gpreempted // 9
    
    	// _Gscan combined with one of the above states other than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. src/runtime/mgcmark.go

    			}
    
    			// TODO: suspendG blocks (and spins) until gp
    			// stops, which may take a while for
    			// running goroutines. Consider doing this in
    			// two phases where the first is non-blocking:
    			// we scan the stacks we can and ask running
    			// goroutines to scan themselves; and the
    			// second blocks.
    			stopped := suspendG(gp)
    			if stopped.dead {
    				gp.gcscandone = true
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/runtime/trace.go

    			// The only situation that we might is that we're racing with a G
    			// that's running for the first time in this generation. Therefore,
    			// this should be relatively fast.
    			s := suspendG(gp)
    			if !s.dead {
    				ug.goid = s.g.goid
    				if s.g.m != nil {
    					ug.mid = int64(s.g.m.procid)
    				}
    				ug.status = readgstatus(s.g) &^ _Gscan
    				ug.waitreason = s.g.waitreason
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    	casGToPreemptScan(gp, _Grunning, _Gscan|_Gpreempted)
    	dropg()
    
    	// Be careful about how we trace this next event. The ordering
    	// is subtle.
    	//
    	// The moment we CAS into _Gpreempted, suspendG could CAS to
    	// _Gwaiting, do its work, and ready the goroutine. All of
    	// this could happen before we even get the chance to emit
    	// an event. The end result is that the events could appear
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/batch/v1/generated.proto

      // skips updates for the Job.
      // +optional
      optional string completionMode = 9;
    
      // suspend specifies whether the Job controller should create Pods or not. If
      // a Job is created with suspend set to true, no Pods are created by the Job
      // controller. If a Job is suspended after creation (i.e. the flag goes from
      // false to true), the Job controller will delete all active Pods associated
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types.go

    	// This flag tells the controller to suspend subsequent executions, it does
    	// not apply to already started executions.  Defaults to false.
    	// +optional
    	Suspend *bool `json:"suspend,omitempty" protobuf:"varint,4,opt,name=suspend"`
    
    	// Specifies the job that will be created when executing a CronJob.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"suspend":                 "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/batch/v1/generated.proto

      // skips updates for the Job.
      // +optional
      optional string completionMode = 9;
    
      // suspend specifies whether the Job controller should create Pods or not. If
      // a Job is created with suspend set to true, no Pods are created by the Job
      // controller. If a Job is suspended after creation (i.e. the flag goes from
      // false to true), the Job controller will delete all active Pods associated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. pkg/apis/batch/types.go

    	// skips updates for the Job.
    	// +optional
    	CompletionMode *CompletionMode
    
    	// suspend specifies whether the Job controller should create Pods or not. If
    	// a Job is created with suspend set to true, no Pods are created by the Job
    	// controller. If a Job is suspended after creation (i.e. the flag goes from
    	// false to true), the Job controller will delete all active Pods associated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top