Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for race (1.69 sec)

  1. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    		}
    	}
    
    	// Configure the kubelet. In this short timeframe, kubeadm is trying to stop/restart the kubelet
    	// Try to stop the kubelet service so no race conditions occur when configuring it
    	if !data.DryRun() {
    		klog.V(1).Infoln("[kubelet-start] Stopping the kubelet")
    		kubeletphase.TryStopKubelet()
    	} else {
    		fmt.Println("[kubelet-start] Would stop the kubelet")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/runtime/sema.go

    	// expect the g we're looking for to be near the front.
    	// The g has others in front of it on the list only to the
    	// extent that it lost the race, so the iteration will not
    	// be too long. This applies even when the g is missing:
    	// it hasn't yet gotten to sleep and has lost the race to
    	// the (few) other g's that we find on the list.
    	for p, s := (*sudog)(nil), l.head; s != nil; p, s = s, s.next {
    		if s.ticket == t {
    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/syscall/syscall_linux_test.go

    			// of doing this every time through the loop
    			// is to race thread creation with v.fn(want)
    			// being executed. Via the once boolean we
    			// also encourage one in 5 waiters to return
    			// locked after participating in only one
    			// question response sequence. This allows the
    			// test to race thread destruction too.
    			once := routines%5 == 4
    			go waiter(question, response, once)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    		return
    	}
    }
    
    func (c *Counter) releaseLock(state counterStateBits) {
    	for ; ; state = c.state.load() {
    		if !state.havePtr() {
    			// Set havePtr before updating ptr,
    			// to avoid race with the next clear of havePtr.
    			if !c.state.update(&state, state.setHavePtr()) {
    				continue
    			}
    			debugPrintf("releaseLock %s: reset havePtr (extra=%d)\n", c.name, state.extra())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func uint64tofloat32(uint64) float32
    func uint32tofloat64(uint32) float64
    
    func complex128div(num complex128, den complex128) (quo complex128)
    
    func getcallerpc() uintptr
    func getcallersp() uintptr
    
    // race detection
    func racefuncenter(uintptr)
    func racefuncexit()
    func raceread(uintptr)
    func racewrite(uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    
    // memory sanitizer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/pod.go

    	keys := pc.getPodKeys(addr)
    	if keys == nil {
    		return nil
    	}
    	res := make([]*v1.Pod, 0, len(keys))
    	for _, key := range keys {
    		p := pc.getPodByKey(key)
    		// Subtle race condition. getPodKeys is our cache over pods, while getPodByKey hits the informer cache.
    		// if these are out of sync, p may be nil (pod was deleted).
    		if p != nil {
    			res = append(res, p)
    		}
    	}
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/start.go

    			return false
    		}
    		// There's a possible race here where two processes check the
    		// token file and see that it's older than the period, then the
    		// first one removes it and creates another, and then a second one
    		// removes the newly created file and creates yet another
    		// file. Then both processes would act as though they had the token.
    		// This is very rare, but it's also okay because we're only grabbing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/aggregate/controller_test.go

    		panic("--- registry has been run twice ---")
    	}
    	rr.running.Store(true)
    	<-stop
    }
    
    func expectRunningOrFail(t *testing.T, ctrl *Controller, want bool) {
    	// running gets flipped in a goroutine, retry to avoid race
    	retry.UntilSuccessOrFail(t, func() error {
    		for _, registry := range ctrl.registries {
    			if running := registry.Instance.(*RunnableRegistry).running.Load(); running != want {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. pkg/kube/kclient/client.go

    	// AddEventHandler is safe to call under the lock. This will *enqueue* all existing items, but not block on processing them,
    	// so the timing is quick.
    	// If we do this outside the lock, we can hit a subtle race condition where we have started processing items before they
    	// are registered (in n.registeredHandlers); this can cause the dynamic filtering to miss events
    	reg, err := n.informer.AddEventHandler(fh)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.join();
        // It's possible to race and suspend the thread just before the park call actually takes effect,
        // causing the thread to be suspended for 3.5 seconds, and then park itself for 2 seconds after
        // being resumed. To avoid a flake in this scenario, calculate how long that thread actually
        // waited and assert based on that time. Empirically, the race where the thread ends up waiting
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top