Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for requestStop (1.79 sec)

  1. tensorflow/cc/training/coordinator.cc

      } else {
        for (const auto& code : clean_stop_errors) {
          clean_stop_errors_.insert(static_cast<int>(code));
        }
      }
    }
    
    Coordinator::~Coordinator() {
      RequestStop().IgnoreError();
      Join().IgnoreError();
    }
    
    Status Coordinator::RegisterRunner(std::unique_ptr<RunnerInterface> runner) {
      {
        mutex_lock l(mu_);
        if (should_stop_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

         *
         * <li>If no connections are available, dispatches queued messages to any handlers that implement {@link RejectedMessageListener}.</li>
         *
         * </ul>
         */
        @Override
        public void requestStop() {
            lock.lock();
            try {
                if (state != State.Running) {
                    return;
                }
                try {
                    outgoingQueue.endOutput();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ConnectionAcceptor.java

    public interface ConnectionAcceptor extends AsyncStoppable {
        Address getAddress();
    
        /**
         * Stops accepting incoming connections.
         */
        @Override
        void requestStop();
    
        /**
         * Stops accepting incoming connections and blocks until the accept action has completed executing for any queued connections.
         */
        @Override
        void stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/IncomingQueue.java

    import java.util.concurrent.locks.Lock;
    
    class IncomingQueue extends MultiChannelQueue {
        IncomingQueue(Lock lock) {
            super(lock);
        }
    
        public void requestStop() {
            queue(new EndOfStream());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                            state = State.STOPPED;
                        }
                    }
                } finally {
                    lock.unlock();
                }
            }
        }
    
        @Override
        public void requestStop() {
            lock.lock();
            try {
                if (state == State.RUNNING) {
                    if (usages.isEmpty()) {
                        state = State.STOPPED;
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AsyncStoppable.java

         * Requesting stopping means preparing for stopping; stopping accepting new work.
         * You have to call stop at some point anyway if your intention is to completely stop the stoppable.
         */
        void requestStop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHubBackedObjectConnection.java

            connection = completion.create(serializer);
            hub.addConnection(connection);
            hub.noFurtherConnections();
            completion = null;
        }
    
        @Override
        public void requestStop() {
            hub.requestStop();
        }
    
        @Override
        public void stop() {
            // TODO:ADAM - need to cleanup completion too, if not used
            CompositeStoppable.stoppable(hub, connection).stop();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestManagedExecutor.groovy

                        count--
                        condition.signalAll()
                    } finally {
                        lock.unlock()
                    }
                }
            }
        }
    
        void requestStop() {
        }
    
        void stop() {
            lock.lock()
            try {
                while (count > 0) {
                    condition.await()
                }
            } finally {
                lock.unlock()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnection.java

        void connect();
    
        /**
         * Commences a graceful stop of this connection. Stops accepting outgoing messages. Requests that the peer stop
         * sending incoming messages.
         */
        @Override
        void requestStop();
    
        /**
         * Performs a graceful stop of this connection. Stops accepting outgoing messages. Blocks until all incoming messages
         * have been handled, and all outgoing messages have been forwarded to the peer.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         *
         * <p>The daemon will stop accepting new work, so that subsequent calls to {@link #runCommand} will fail with {@link DaemonUnavailableException}.
         */
        void requestStop(String reason);
    
        /**
         * Requests a forceful stops of the daemon. Does not wait until the daemon is idle to begin stopping. The stop will happen asynchronously, and this method does not block.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top