Home
last modified time | relevance | path

Searched refs:run_threads (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/
Dlock_tests.py829 def run_threads(self, f): member in BarrierTests
854 self.run_threads(f)
871 self.run_threads(f)
886 self.run_threads(f)
907 self.run_threads(f)
936 self.run_threads(f)
971 self.run_threads(f)
988 self.run_threads(f)
1002 self.run_threads(f)
Dtest_queue.py463 def run_threads(self, n_feeders, n_consumers, q, inputs, member in BaseSimpleQueueTest
543 results = self.run_threads(1, 1, q, inputs, self.feed, self.consume)
553 results = self.run_threads(N, N, q, inputs, self.feed, self.consume)
564 results = self.run_threads(N, N, q, inputs,
574 results = self.run_threads(N, N, q, inputs,
D_test_multiprocessing.py1766 def run_threads(self, f, args): member in _TestBarrier
1796 self.run_threads(self.multipass, (self.barrier, results, passes))
1814 self.run_threads(self._test_wait_return_f, (self.barrier, queue))
1831 self.run_threads(self._test_action_f, (barrier, results))
1853 self.run_threads(self._test_abort_f,
1884 self.run_threads(self._test_reset_f,
1921 self.run_threads(self._test_abort_and_reset_f,
1943 self.run_threads(self._test_timeout_f, (self.barrier, results))
1963 self.run_threads(self._test_default_timeout_f, (barrier, results))
/external/libchrome/base/task_scheduler/
Dtask_tracker_unittest.cc963 std::vector<std::unique_ptr<ThreadPostingAndRunningTask>> run_threads; in TEST_F() local
965 run_threads.push_back(std::make_unique<ThreadPostingAndRunningTask>( in TEST_F()
968 run_threads.back()->Start(); in TEST_F()
970 run_threads.push_back(std::make_unique<ThreadPostingAndRunningTask>( in TEST_F()
973 run_threads.back()->Start(); in TEST_F()
975 run_threads.push_back(std::make_unique<ThreadPostingAndRunningTask>( in TEST_F()
978 run_threads.back()->Start(); in TEST_F()
981 for (const auto& thread : run_threads) in TEST_F()
/external/tensorflow/tensorflow/python/client/
Dsession_test.py1213 run_threads = [self.checkedThread(target=run_loop) for _ in range(10)]
1214 for t in run_threads:
1226 for t in run_threads: