Home
last modified time | relevance | path

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

12

/external/python/cpython2/Python/
Dthread_wince.h8 long PyThread_get_thread_ident(void);
30 dprintf(("%ld: PyThread_start_new_thread called\n", PyThread_get_thread_ident())); in PyThread_start_new_thread()
38 dprintf(("%ld: PyThread_start_new_thread succeeded:\n", PyThread_get_thread_ident())); in PyThread_start_new_thread()
48 long PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
58 dprintf(("%ld: PyThread_exit_thread called\n", PyThread_get_thread_ident())); in PyThread_exit_thread()
82 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock()
89 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
105 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitfla… in PyThread_acquire_lock()
123 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) -> %d\n", PyThread_get_thread_ident(),aLock, waitflag… in PyThread_acquire_lock()
130 dprintf(("%ld: PyThread_release_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_release_lock()
[all …]
Dthread_nt.h90 long PyThread_get_thread_ident(void);
134 PyThread_get_thread_ident())); in PyThread_start_new_thread()
160 PyThread_get_thread_ident(), e)); in PyThread_start_new_thread()
167 PyThread_get_thread_ident(), e)); in PyThread_start_new_thread()
174 PyThread_get_thread_ident(), (void*)hThread)); in PyThread_start_new_thread()
185 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
196 dprintf(("%ld: PyThread_exit_thread called\n", PyThread_get_thread_ident())); in PyThread_exit_thread()
222 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock()
230 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
246 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitfla… in PyThread_acquire_lock()
[all …]
Dthread_os2.h14 long PyThread_get_thread_ident(void);
53 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
75 PyThread_get_thread_ident())); in PyThread_exit_thread()
100 PyThread_get_thread_ident(), in PyThread_allocate_lock()
120 PyThread_get_thread_ident(), in PyThread_allocate_lock()
135 PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
165 PyThread_get_thread_ident(), in PyThread_acquire_lock()
212 PyThread_get_thread_ident(), in PyThread_release_lock()
221 PyThread_get_thread_ident(), in PyThread_release_lock()
229 PyThread_get_thread_ident(), in PyThread_release_lock()
Dthread.c267 long id = PyThread_get_thread_ident(); in find_key()
375 long id = PyThread_get_thread_ident(); in PyThread_delete_key_value()
401 long id = PyThread_get_thread_ident(); in PyThread_ReInitTLS()
Dthread_foobar.h26 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
Dthread_cthread.h46 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
Dthread_solaris.h60 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
Dthread_lwp.h40 long PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
Dthread_pth.h67 long PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
Dthread_atheos.h125 long PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
Dthread_beos.h138 long PyThread_get_thread_ident( void ) in PyThread_get_thread_ident() function
Dthread_sgi.h170 long PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
Dthread_pthread.h227 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
/external/python/cpython3/Python/
Dthread_nt.h145 unsigned long PyThread_get_thread_ident(void);
189 PyThread_get_thread_ident())); in PyThread_start_new_thread()
210 PyThread_get_thread_ident(), e)); in PyThread_start_new_thread()
216 PyThread_get_thread_ident(), (void*)hThread)); in PyThread_start_new_thread()
227 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
257 dprintf(("%lu: PyThread_exit_thread called\n", PyThread_get_thread_ident())); in PyThread_exit_thread()
279 dprintf(("%lu: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock()
287 dprintf(("%lu: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
320 PyThread_get_thread_ident(), aLock, microseconds)); in PyThread_acquire_lock_timed()
331 PyThread_get_thread_ident(), aLock, microseconds, success)); in PyThread_acquire_lock_timed()
[all …]
/external/python/cpython2/Modules/
Dsignalmodule.c186 if (PyThread_get_thread_ident() != main_thread) { in signal_handler()
291 if (PyThread_get_thread_ident() != main_thread) { in signal_signal()
412 if (PyThread_get_thread_ident() != main_thread) { in signal_set_wakeup_fd()
578 main_thread = PyThread_get_thread_ident(); in initsignal()
898 if (PyThread_get_thread_ident() != main_thread) in PyErr_CheckSignals()
970 if (PyThread_get_thread_ident() != main_thread) in PyOS_InterruptOccurred()
1003 main_thread = PyThread_get_thread_ident(); in PyOS_AfterFork()
Dtimemodule.c976 main_thread = PyThread_get_thread_ident(); in inittime()
1079 main_thread != PyThread_get_thread_ident())
Dthreadmodule.c616 tstate->thread_id = PyThread_get_thread_ident(); in t_bootstrap()
765 ident = PyThread_get_thread_ident(); in thread_get_ident()
/external/python/cpython2/Include/
Dpythread.h15 PyAPI_FUNC(long) PyThread_get_thread_ident(void);
/external/python/cpython3/Modules/
D_threadmodule.c317 tid = PyThread_get_thread_ident(); in rlock_acquire()
360 unsigned long tid = PyThread_get_thread_ident(); in rlock_release()
445 unsigned long tid = PyThread_get_thread_ident(); in rlock_is_owned()
1036 tstate->thread_id = PyThread_get_thread_ident(); in t_bootstrap()
1183 unsigned long ident = PyThread_get_thread_ident(); in thread_get_ident()
1376 unsigned long ident = PyThread_get_thread_ident(); in thread_excepthook_file()
/external/python/cpython3/Include/internal/
Dpycore_pystate.h19 unsigned long thread = PyThread_get_thread_ident(); in _Py_IsMainThread()
/external/python/cpython3/Include/
Dpythread.h26 PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void);
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c22 #define ISMINE(o) (o->count > 0 && PyThread_get_thread_ident() == o->last_tid)
337 self->last_tid = PyThread_get_thread_ident(); in semlock_acquire()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c24 #define ISMINE(o) (o->count > 0 && PyThread_get_thread_ident() == o->last_tid)
343 self->last_tid = PyThread_get_thread_ident(); in semlock_acquire()
/external/python/cpython2/PC/os2vacpp/
Dpython.def391 PyThread_get_thread_ident
/external/python/cpython2/Modules/_sqlite/
Dconnection.c189 self->thread_ident = PyThread_get_thread_ident(); in pysqlite_connection_init()
1107 if (PyThread_get_thread_ident() != self->thread_ident) { in pysqlite_check_thread()
1111 self->thread_ident, PyThread_get_thread_ident()); in pysqlite_check_thread()

12