Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/glx/apple/
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/
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
Dqueues.py77 self._thread = None
93 if self._thread is None:
169 self._thread = threading.Thread(
176 self._thread.daemon = True
179 self._thread.start()
184 self._thread, Queue._finalize_join,
185 [weakref.ref(self._thread)],
316 if self._thread is None:
/third_party/python/Lib/test/support/
Dthreading_helper.py1 import _thread
24 return _thread._count(), threading._dangling.copy()
31 values = _thread._count(), threading._dangling
85 old_count = _thread._count()
92 count = _thread._count()
/third_party/python/Lib/
Dthreading.py5 import _thread
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 …]
Dtelnetlib.py565 import _thread
566 _thread.start_new_thread(self.listener, ())
Dreprlib.py7 from _thread import get_ident
Dtempfile.py49 import _thread
50 _allocate_lock = _thread.allocate_lock
Ddataclasses.py10 import _thread
400 key = id(self), _thread.get_ident()
D_strptime.py22 from _thread import allocate_lock as _thread_allocate_lock
/third_party/libfuse/test/
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/
Dtest_threading.py13 import _thread
179 tid = _thread.start_new_thread(f, ())
191 except _thread.error:
203 except _thread.error:
220 tid = _thread.start_new_thread(f, (mutex,))
714 started = _thread.allocate_lock()
715 finish = _thread.allocate_lock()
749 started = _thread.allocate_lock()
750 finish = _thread.allocate_lock()
1608 _thread.interrupt_main()
[all …]
Dtest_threading_local.py10 import _thread
198 _local = _thread._local
212 _threading_local.local = _thread._local
Dtest_threadsignals.py8 import _thread as thread
Dtest_thread.py6 import _thread as thread
Dtest_logging.py835 self._thread = None
855 self._thread = t = threading.Thread(target=self.serve_forever,
877 threading_helper.join_thread(self._thread)
878 self._thread = None
900 self._thread = None
909 self._thread = t = threading.Thread(target=self.serve_forever,
927 if self._thread is not None:
928 threading_helper.join_thread(self._thread)
929 self._thread = None
/third_party/python/Lib/importlib/
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:
/third_party/python/Doc/library/
D_thread.rst1 :mod:`_thread` --- Low-level threading API
4 .. module:: _thread
198 import _thread
200 a_lock = _thread.allocate_lock()
214 equivalent to calling :func:`_thread.exit`.
Dconcurrency.rst31 _thread.rst
/third_party/python/Lib/asyncio/
Dbase_futures.py4 from _thread import get_ident
/third_party/python/Lib/logging/
Dhandlers.py1481 self._thread = None
1500 self._thread = t = threading.Thread(target=self._monitor)
1572 self._thread.join()
1573 self._thread = None
/third_party/ffmpeg/tests/api/
Dapi-threadmessage-test.c222 ret = pthread_create(&td->tid, NULL, type##_thread, td); \ in main()
/third_party/python/Misc/NEWS.d/
D3.10.0b3.rst90 The _thread.RLock type now fully implement the GC protocol: add a traverse
D3.10.0b4.rst243 _thread.start_new_thread() no longer calls PyThread_exit_thread() explicitly
/third_party/python/Lib/idlelib/
Drun.py16 import _thread as thread

123