Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/glx/apple/
H A Dapple_glx_log.c107 char *_thread; in _apple_glx_vlog() local
108 asprintf(&_thread, "%"PRIu64, thread); in _apple_glx_vlog()
109 if (_thread) { in _apple_glx_vlog()
110 asl_set(msg, "Thread", _thread); in _apple_glx_vlog()
111 free(_thread); in _apple_glx_vlog()
/third_party/python/Lib/multiprocessing/
H A Dresource_sharer.py69 self._thread = None
99 self._thread.join(timeout)
100 if self._thread.is_alive():
104 self._thread = None
120 self._thread = None
131 self._thread = t
H A Dqueues.py77 self._thread = None
93 if self._thread is None:
166 self._thread = threading.Thread(
174 self._thread.daemon = True
176 debug('doing self._thread.start()')
177 self._thread.start()
178 debug('... done self._thread.start()')
182 self._thread, Queue._finalize_join,
183 [weakref.ref(self._thread)],
315 if self._thread i
[all...]
/third_party/python/Lib/test/support/
H A Dthreading_helper.py1 import _thread namespace
25 return _thread._count(), threading._dangling.copy()
32 values = _thread._count(), threading._dangling
75 Use _thread.count() to check if threads exited. Indirectly, wait until
76 threads exit the internal t_bootstrap() C function of the _thread module.
80 is designed to cleanup threads started by the _thread.start_new_thread()
86 old_count = _thread._count()
93 count = _thread._count()
/third_party/python/Lib/
H A Dthreading.py5 import _thread namespace
34 _start_new_thread = _thread.start_new_thread
35 _allocate_lock = _thread.allocate_lock
36 _set_sentinel = _thread._set_sentinel
37 get_ident = _thread.get_ident
39 get_native_id = _thread.get_native_id
44 ThreadError = _thread.error
46 _CRLock = _thread.RLock
49 TIMEOUT_MAX = _thread.TIMEOUT_MAX
50 del _thread
[all...]
H A Dtelnetlib.py567 import _thread namespace
568 _thread.start_new_thread(self.listener, ())
H A Dreprlib.py7 from _thread import get_ident
H A Dtempfile.py49 import _thread namespace
50 _allocate_lock = _thread.allocate_lock
H A Ddataclasses.py11 import _thread namespace
235 key = id(self), _thread.get_ident()
H A D_strptime.py22 from _thread import allocate_lock as _thread_allocate_lock
H A Dfunctools.py21 from _thread import RLock
/third_party/python/Lib/test/
H A Dtest_threading.py13 import _thread namespace
207 tid = _thread.start_new_thread(f, ())
219 except _thread.error:
231 except _thread.error:
248 tid = _thread.start_new_thread(f, (mutex,))
370 import ctypes, sys, time, _thread
373 ready = _thread.allocate_lock()
390 _thread.start_new_thread(waitingThread, ())
569 import _thread, threading, os, time
578 _thread
[all...]
H A Dtest_threading_local.py11 import _thread namespace
214 _local = _thread._local
225 _threading_local.local = _thread._local
H A Dtest_threadsignals.py8 import _thread as thread
H A Dtest_thread.py6 import _thread as thread
H A Dtest_logging.py841 self._thread = None
861 self._thread = t = threading.Thread(target=self.serve_forever,
883 threading_helper.join_thread(self._thread)
884 self._thread = None
906 self._thread = None
915 self._thread = t = threading.Thread(target=self.serve_forever,
933 if self._thread is not None:
934 threading_helper.join_thread(self._thread)
935 self._thread = None
/third_party/libfuse/test/
H A Dconftest.py37 self._thread = threading.Thread(target=self._loop, daemon=True, args=(fd_r,))
38 self._thread.start()
61 self._thread.join()
/third_party/python/Lib/test/libregrtest/
H A Dwin_utils.py2 import _thread namespace
36 _thread.start_new_thread(self._update_load, (), {})
/third_party/python/Lib/importlib/
H A D_bootstrap.py32 _thread = None variable
72 self.lock = _thread.allocate_lock()
73 self.wakeup = _thread.allocate_lock()
81 me = _thread.get_ident()
106 tid = _thread.get_ident()
126 tid = _thread.get_ident()
193 if _thread is None:
1344 for builtin_name in ('_thread', '_warnings', '_weakref'):
/third_party/python/Lib/asyncio/
H A Dbase_futures.py4 from _thread import get_ident
/third_party/python/Lib/test/test_asyncio/
H A Dtest_runners.py1 import _thread namespace
19 _thread.interrupt_main()
/third_party/python/Lib/logging/
H A Dhandlers.py1518 self._thread = None
1537 self._thread = t = threading.Thread(target=self._monitor)
1609 self._thread.join()
1610 self._thread = None
/third_party/ffmpeg/tests/api/
H A Dapi-threadmessage-test.c222 ret = pthread_create(&td->tid, NULL, type##_thread, td); \ in main()
/third_party/python/Lib/idlelib/
H A Drun.py16 import _thread as thread
/third_party/python/Lib/test/test_capi/
H A Dtest_misc.py5 import _thread namespace
833 if hasattr(_thread, 'get_native_id'):

Completed in 27 milliseconds

12