Home
last modified time | relevance | path

Searched refs:_thread (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_dummy_thread.py8 import dummy_thread as _thread namespace
23 self.lock = _thread.allocate_lock()
39 self.assertRaises(_thread.error, self.lock.release)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
91 self.assertRaises(SystemExit, _thread.exit)
95 self.assertIsInstance(_thread.get_ident(), int,
97 self.assertNotEqual(_thread.get_ident(), 0,
102 self.assertIsInstance(_thread.allocate_lock(), _thread.LockType,
110 _thread.interrupt_main()
111 self.assertRaises(KeyboardInterrupt, _thread.start_new_thread,
[all …]
Dtest_threading_local.py8 _thread = support.import_module('thread') variable
186 _local = _thread._local
/external/autotest/server/cros/
Dremote_command.py61 self._thread = _HelperThread(self._host, cmd)
62 self._thread.start()
85 self._thread.join(timeout)
86 if self._thread.isAlive():
107 return self._thread.result
/external/mesa3d/src/glx/apple/
Dapple_glx_log.c116 char *_thread; in _apple_glx_vlog() local
117 asprintf(&_thread, "%"PRIu64, thread); in _apple_glx_vlog()
118 if (_thread) { in _apple_glx_vlog()
119 asl_set(msg, "Thread", _thread); in _apple_glx_vlog()
120 free(_thread); in _apple_glx_vlog()
/external/python/cpython2/Lib/multiprocessing/
Dqueues.py90 self._thread = None
106 if self._thread is None:
186 self._thread = threading.Thread(
192 self._thread.daemon = True
195 self._thread.start()
201 self._thread, Queue._finalize_join,
202 [weakref.ref(self._thread)],
319 if self._thread is None:
/external/autotest/client/cros/
Ddevice_jail_utils.py46 self._thread = threading.Thread(target=target_func)
51 self._thread.start()
54 self._thread.join(self._timeout_func())
55 if self._thread.is_alive() and not exc_val:
Ddns_server.py21 self._thread = threading.Thread(target=self._dns.run,
53 self._thread.start()
126 self._thread.join()
/external/autotest/client/cros/audio/
Dcmd_utils.py60 self._thread = threading.Thread(target=self._service_run)
61 self._thread.daemon = True
62 self._thread.start()
111 self._thread.join()
/external/autotest/client/site_tests/policy_ProxySettings/
Dpolicy_ProxySettings.py70 self._thread = threading.Thread(target=self._server.serve_forever)
74 self._thread.start()
79 self._thread.join()
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_manager_posix.cc188 : _thread(UdpSocketManagerPosixImpl::Run, in UdpSocketManagerPosixImpl()
224 _thread.Start(); in Start()
225 _thread.SetPriority(rtc::kRealtimePriority); in Start()
233 _thread.Stop(); in Stop()
Dudp_socket_manager_posix.h78 rtc::PlatformThread _thread; variable
/external/python/cpython2/Doc/library/
Ddummy_thread.rst24 import thread as _thread
26 import dummy_thread as _thread
Dthread.rst8 The :mod:`thread` module has been renamed to :mod:`_thread` in Python 3.
Dthreading.rst232 .. _thread-objects:
/external/webrtc/webrtc/voice_engine/test/android/android_test/jni/
Dandroid_test.cc180 rtc::PlatformThread _thread; member in ThreadTest
185 if (_thread) in ~ThreadTest()
186 _thread->Stop(); in ~ThreadTest()
191 _thread(Run, this, "ThreadTest thread"); in ThreadTest()
264 _thread->Stop(); in Process()
273 if (_thread) in RunTest()
275 _thread->Start(); in RunTest()
/external/skia/infra/bots/recipe_modules/core/resources/
Delf_symbolizer.py244 self._thread = None # Threading.thread instance.
409 self._thread = threading.Thread(
412 self._thread.daemon = True # Don't prevent early process exit.
413 self._thread.start()
/external/autotest/client/site_tests/network_ProxyResolver/
Dnetwork_ProxyResolver.py84 self._thread = threading.Thread(target=self._server.serve_forever)
88 self._thread.start()
94 self._thread.join()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Drfc2217.py432 self._thread = threading.Thread(target=self._telnetReadLoop)
433 self._thread.setDaemon(True)
434 self._thread.setName('pySerial RFC 2217 reader thread for %s' % (self._port,))
435 self._thread.start()
517 if self._thread:
518 self._thread.join()
578 if self._thread is None:
744 self._thread = None
/external/python/cpython2/Lib/
Dtempfile.py60 import thread as _thread namespace
62 import dummy_thread as _thread namespace
63 _allocate_lock = _thread.allocate_lock
/external/libxml2/python/tests/
Dthread2.py4 from _thread import get_ident
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcompat.py89 import _thread as thread
/external/python/cpython2/Misc/
Dmaintainers.rst55 _thread pitrou
/external/eigen/cmake/
DFindBLAS.cmake168 macro(Check_Fortran_Libraries LIBRARIES _prefix _name _flags _list _thread)
282 set(CMAKE_REQUIRED_LIBRARIES "${_flags};${${LIBRARIES}};${_thread}")
312 set(${LIBRARIES} ${${LIBRARIES}} ${_thread})
/external/python/cpython2/Doc/faq/
Dlibrary.rst232 .. XXX it's _thread in py3k
/external/python/cpython2/Doc/c-api/
Dinit.rst544 it. Before the Python :mod:`_thread` module creates a new thread, knowing