Home
last modified time | relevance | path

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

12

/external/python/cpython2/Demo/metaclasses/
DSynch.py63 if self.__tid == thread.get_ident():
75 self.__tid = thread.get_ident()
93 assert self.__tid == thread.get_ident()
109 print "f2 running in thread %d\n" % thread.get_ident(),
115 print "f1 running in thread %d\n" % thread.get_ident(),
/external/libxml2/python/tests/
Dthread2.py4 from _thread import get_ident
6 from thread import get_ident
38 "lineNumbersDefault in thread %d" % get_ident())
/external/python/cpython2/Lib/test/
Dtest_threadsignals.py28 signal_blackboard[sig]['tripped_by'] = thread.get_ident()
63 thread.get_ident())
66 thread.get_ident())
Dtest_dummy_thread.py95 self.assertIsInstance(_thread.get_ident(), int,
97 self.assertNotEqual(_thread.get_ident(), 0,
149 queue.put(_thread.get_ident())
Dtest_capi.py129 idents.append(thread.get_ident())
135 self.assertEqual(idents.count(thread.get_ident()), 3,
Dlock_tests.py7 from thread import start_new_thread, get_ident
34 tid = get_ident()
Dtest_threading.py180 tid = thread.get_ident()
209 self.id = thread.get_ident()
Dtest_sys.py327 thread_info.append(thread.get_ident())
343 main_id = thread.get_ident()
/external/python/cpython3/Lib/
Dthreading.py36 get_ident = _thread.get_ident variable
144 me = get_ident()
172 if self._owner != get_ident():
199 return self._owner == get_ident()
892 self._ident = get_ident()
964 del _active[get_ident()]
994 del _active[get_ident()]
1222 return _active[get_ident()]
1332 ident = get_ident()
Dreprlib.py7 from _thread import get_ident
16 key = id(self), get_ident()
D_dummy_thread.py65 def get_ident(): function
/external/python/cpython3/Lib/test/
Dtest_threadsignals.py31 signal_blackboard[sig]['tripped_by'] = thread.get_ident()
67 thread.get_ident())
70 thread.get_ident())
Dtest_dummy_thread.py112 self.assertIsInstance(_thread.get_ident(), int,
114 self.assertGreater(_thread.get_ident(), 0)
190 queue.put(_thread.get_ident())
Dtest_capi.py425 idents.append(threading.get_ident())
431 self.assertEqual(idents.count(threading.get_ident()), 3,
Dtest_threading.py193 tid = threading.get_ident()
224 self.id = threading.get_ident()
492 self.assertEqual(main.ident, threading.get_ident())
Dtest_threaded_import.py36 done_tasks.append(threading.get_ident())
/external/python/cpython2/Demo/pysvr/
Dpysvr.py60 print "Thread %s has connection from %s.\n" % (str(thread.get_ident()),
65 print "Thread %s is done.\n" % str(thread.get_ident()),
/external/python/funcsigs/funcsigs/
Dodict.py8 from thread import get_ident as _get_ident
10 from dummy_thread import get_ident as _get_ident
/external/python/cpython2/Lib/
Ddummy_thread.py62 def get_ident(): function
Dcollections.py29 from thread import get_ident as _get_ident
31 from dummy_thread import get_ident as _get_ident
/external/python/cpython3/Lib/importlib/
D_bootstrap.py68 me = _thread.get_ident()
84 tid = _thread.get_ident()
104 tid = _thread.get_ident()
/external/tensorflow/tensorflow/python/platform/
Dtf_logging.py315 thread_id = six.moves._thread.get_ident()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py435 return (arg, threading.get_ident())
442 self.assertNotEqual(ident, threading.get_ident())
454 return (arg, threading.get_ident())
/external/python/cpython2/Doc/library/
Dthread.rst88 .. function:: get_ident()
/external/python/cpython3/Doc/library/
D_thread.rst80 .. function:: get_ident()

12