Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 540 for stopped_ (0.12 sec)

  1. cmd/erasure-server-pool-rebalance.go

    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    					traceMsg = fmt.Sprintf("stopped at %s", now)
    				case rebalErr == nil:
    					status = rebalCompleted
    					traceMsg = fmt.Sprintf("completed at %s", now)
    				default:
    					status = rebalFailed
    					traceMsg = fmt.Sprintf("stopped at %s with err: %v", now, rebalErr)
    				}
    
    				z.rebalMu.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
        def "await idle timeout does nothing when already stopped"() {
            given:
            coordinator.stop()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/watch/mux.go

    	m.incomingBlock.Lock()
    	defer m.incomingBlock.Unlock()
    
    	// Ensure that if the broadcaster is stopped we do not send events to it.
    	select {
    	case <-m.stopped:
    		return false, fmt.Errorf("broadcaster already stopped")
    	default:
    	}
    
    	select {
    	case m.incoming <- Event{action, obj}:
    		return true, nil
    	default:
    		return false, nil
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:36 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                    case STOPPING:
                        throw new IllegalStateException(String.format("Cannot use %s as it is currently stopping.", displayName));
                    case STOPPED:
                        throw new IllegalStateException(String.format("Cannot use %s as it has been stopped.", displayName));
                }
                Integer depth = usages.get(Thread.currentThread());
                if (depth == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/AsyncDispatch.java

                if (interrupted) {
                    Thread.currentThread().interrupt();
                }
                if (state == State.Stopped) {
                    throw new IllegalStateException("Cannot dispatch message, as this message dispatch has been stopped. Message: " + message);
                }
                queue.add(message);
                condition.signalAll();
            } finally {
                lock.unlock();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

                synchronized (lock) {
                    stopped = true;
                }
                stopped(this);
            }
    
            @Override
            public void dispatch(MethodInvocation message) {
                synchronized (lock) {
                    if (stopped) {
                        throw new IllegalStateException("This actor has been stopped.");
                    }
                    dispatch.dispatch(message);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/ServiceLifecycleTest.groovy

            then:
            noExceptionThrown()
        }
    
        def "throws exception when attempting to use service after it has stopped"() {
            when:
            lifecycle.stop()
            lifecycle.use { }
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot use [service] as it has been stopped.'
        }
    
        def "throws exception when attempting to use service after stop has been requested"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/runtime/lockrank_on.go

    //
    //go:nosplit
    func worldStarted() {
    	if stopped := worldIsStopped.Add(-1); stopped != 0 {
    		systemstack(func() {
    			print("world stop count=", stopped, "\n")
    			throw("released non-stopped world stop")
    		})
    	}
    }
    
    // nosplit to ensure it can be called in as many contexts as possible.
    //
    //go:nosplit
    func checkWorldStopped() bool {
    	stopped := worldIsStopped.Load()
    	if stopped > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStopState.java

    package org.gradle.launcher.daemon.server;
    
    /**
     * Indicates the state of the daemon when it stops doing work.
     */
    public enum DaemonStopState {
        /**
         * Daemon was stopped cleanly and all work stopped.
         */
        Clean,
        /**
         * Daemon could not be stopped cleanly and some work may still be running.
         */
        Forced
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:45:11 UTC 2024
    - 953 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go

    	defer timer.Stop()
    	for {
    		stopped := func() bool {
    			pr.mux.Lock()
    			defer pr.mux.Unlock()
    			for pr.waiting == 0 && !pr.stopped {
    				pr.cond.Wait()
    			}
    			return pr.stopped
    		}()
    		if stopped {
    			return
    		}
    
    		select {
    		case <-timer.C():
    			shouldRequest := func() bool {
    				pr.mux.Lock()
    				defer pr.mux.Unlock()
    				return pr.waiting > 0 && !pr.stopped
    			}()
    			if !shouldRequest {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 09:56:38 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top