Home
last modified time | relevance | path

Searched refs:_threads (Results 1 - 12 of 12) sorted by relevance

/third_party/ltp/testcases/realtime/lib/
H A Dlibrttest.c64 static LIST_HEAD(_threads);
300 list_add_tail(&thread->_threads, &_threads); in create_thread()
320 list_del(&thread->_threads); in create_thread()
372 list_for_each_entry(p, &_threads, _threads) { in join_thread()
382 list_del(&t->_threads); in join_thread()
390 list_for_each_entry(p, &_threads, _threads) { in all_threads_quit()
399 list_for_each_entry_safe(p, t, &_threads, _thread in join_threads()
[all...]
/third_party/python/Lib/concurrent/futures/
H A Dthread.py152 self._threads = set()
190 num_threads = len(self._threads)
200 self._threads.add(t)
234 for t in self._threads:
/third_party/python/Lib/
H A Dsocketserver.py682 _threads = _NoThreads() variable in ThreadingMixIn
700 vars(self).setdefault('_threads', _Threads())
704 self._threads.append(t)
709 self._threads.join()
/third_party/python/Lib/test/
H A Dtest_asynchat.py112 self._threads = threading_helper.threading_setup()
115 threading_helper.threading_cleanup(*self._threads)
H A Dtest_concurrent_futures.py436 self.assertEqual(len(self.executor._threads), 3)
440 for t in self.executor._threads:
449 for t in executor._threads:
455 threads = executor._threads
470 threads = executor._threads
484 threads = executor._threads
495 threads = executor._threads
935 self.assertEqual(len(executor._threads), executor._max_workers)
945 self.assertEqual(len(executor._threads), 1)
H A Dtest_threading.py91 self._threads = threading_helper.threading_setup()
94 threading_helper.threading_cleanup(*self._threads)
H A Dlock_tests.py78 self._threads = threading_helper.threading_setup()
81 threading_helper.threading_cleanup(*self._threads)
H A Dtest_socketserver.py519 self.assertLess(len(server._threads), 10)
H A Dtest_httpservers.py70 self._threads = threading_helper.threading_setup()
81 threading_helper.threading_cleanup(*self._threads)
/third_party/ltp/testcases/realtime/include/
H A Dlibrttest.h80 struct list_head _threads; member
/third_party/python/Lib/asyncio/
H A Dunix_events.py1360 self._threads = {}
1370 threads = [thread for thread in list(self._threads.values())
1382 threads = [thread for thread in list(self._threads.values())
1395 self._threads[pid] = thread
1431 self._threads.pop(expected_pid)
/third_party/python/Lib/test/test_asyncio/
H A Dutils.py554 threads = list(watcher._threads.values())

Completed in 15 milliseconds