Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for waitForStop (0.22 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/CrossProcessFileLockIntegrationTest.groovy

            file("a/src/main/java/A.java") << "public class A {}"
            file("b/src/main/java/B.java") << "public class B {}"
    
            when:
            buildFile """
                def waitForStop() {
                  def sanityWaitUntil = System.currentTimeMillis() + 120000
                  println 'waiting for file...'
                  while(!file('stop.txt').exists()) {
                    Thread.sleep(300)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandle.java

        public ExecutionResult waitForFinish() {
            return waitForStop(false);
        }
    
        @Override
        public ExecutionFailure waitForFailure() {
            return (ExecutionFailure) waitForStop(true);
        }
    
        @Override
        public void waitForExit() {
            getExecHandle().waitForFinish().rethrowFailure();
        }
    
        private ExecutionResult waitForStop(boolean expectFailure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultMultiRequestWorkerProcessBuilder.java

                public ExecResult stop() {
                    if (requestProtocol != null) {
                        requestProtocol.stop();
                    }
                    try {
                        return workerProcess.waitForStop();
                    } finally {
                        requestProtocol = null;
                    }
                }
    
                @Override
                public void stopNow() {
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. istioctl/pkg/cli/mock_client.go

    	return "localhost:3456"
    }
    
    func (m MockPortForwarder) Close() {
    }
    
    func (m MockPortForwarder) ErrChan() <-chan error {
    	return make(chan error)
    }
    
    func (m MockPortForwarder) WaitForStop() {
    }
    
    var _ kube.PortForwarder = MockPortForwarder{}
    
    type MockClient struct {
    	// Results is a map of podName to the results of the expected test on the pod
    	Results map[string][]byte
    	kube.CLIClient
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/cc/training/coordinator.cc

        return;
      }
      status_ = status;
    }
    
    Status Coordinator::GetStatus() {
      mutex_lock l(status_lock_);
      return status_;
    }
    
    void Coordinator::WaitForStop() {
      mutex_lock l(mu_);
      while (!should_stop_) {
        wait_for_stop_.wait(l);
      }
    }
    
    Status Coordinator::ExportCostGraph(CostGraphDef* cost_graph) const {
      mutex_lock l(runners_lock_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
Back to top