Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for waitForStop (0.17 sec)

  1. tensorflow/cc/training/coordinator.h

      /// Returns the latest status.
      Status GetStatus();
    
      /// Returns immediately if the coordinator is stopped or blocks until
      /// RequestStop() is called.
      void WaitForStop();
    
      // Returns the cost graph from stored run metadata in registered runners.
      Status ExportCostGraph(CostGraphDef* cost_graph) const;
    
     private:
      std::unordered_set<int> clean_stop_errors_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultSingleRequestWorkerProcessBuilder.java

                        requester.runThenStop(new Request(request, CurrentBuildOperationRef.instance().get()));
                        boolean hasResult = receiver.awaitNextResult();
                        workerProcess.waitForStop();
                        if (!hasResult) {
                            // Reached the end of input, worker has exited without failing
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 09:27:37 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessor.java

                            remoteProcessor.stop();
                        }
                    } finally {
                        lock.unlock();
                    }
                    workerProcess.waitForStop();
                }
            } catch (ExecException e) {
                if (!stoppedNow) {
                    throw new ExecException(e.getMessage()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/process/internal/worker/DefaultWorkerProcessSpec.groovy

            op.start {
                op.callbackLater {
                    workerProcess.onConnect(connection)
                }
                workerProcess.start()
                assert workerProcess.waitForStop() == execResult
            }
    
            then:
            1 * execHandle.start()
            1 * execHandle.waitForFinish() >> execResult
            1 * execResult.assertNormalExitValue() >> execResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 07:21:35 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  5. tensorflow/cc/training/queue_runner.cc

      SetRunArgumentsAndCostGraph(run_options);
      return Start(session, wait_for_ms);
    }
    
    void QueueRunner::Stop(Session* sess) {
      if (coord_ != nullptr) {
        coord_->WaitForStop();
      }
      if (!cancel_op_name_.empty()) {
        UpdateStatus(RealRun(sess, cancel_op_name_, false));
      }
      stopped_ = true;
    }
    
    Status QueueRunner::Join() {
      thread_pool_.reset();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcess.java

            // This may contain references to tasks, projects, and builds which we don't want to keep around
            execHandle.removeStartupContext();
        }
    
        @Override
        public ExecResult waitForStop() {
            try {
                return execHandle.waitForFinish().assertNormalExitValue();
            } finally {
                cleanup();
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:39:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go

    // API group versions.
    //
    // It is typically used like this:
    //
    //	ctx, cancel := context.Background()
    //	defer cancel()
    //	factory := NewSharedInformerFactory(client, resyncPeriod)
    //	defer factory.WaitForStop()    // Returns immediately if nothing was started.
    //	genericInformer := factory.ForResource(resource)
    //	typedInformer := factory.SomeAPIGroup().V1().SomeType()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/factory.go

    // API group versions.
    //
    // It is typically used like this:
    //
    //	ctx, cancel := context.Background()
    //	defer cancel()
    //	factory := NewSharedInformerFactory(client, resyncPeriod)
    //	defer factory.WaitForStop()    // Returns immediately if nothing was started.
    //	genericInformer := factory.ForResource(resource)
    //	typedInformer := factory.SomeAPIGroup().V1().SomeType()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top