Home
last modified time | relevance | path

Searched refs:PyThread_get_thread_ident (Results 1 – 25 of 40) 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_beos.h138 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_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.h144 unsigned long PyThread_get_thread_ident(void);
184 PyThread_get_thread_ident())); in PyThread_start_new_thread()
205 PyThread_get_thread_ident(), e)); in PyThread_start_new_thread()
211 PyThread_get_thread_ident(), (void*)hThread)); in PyThread_start_new_thread()
222 PyThread_get_thread_ident(void) in PyThread_get_thread_ident() function
233 dprintf(("%lu: PyThread_exit_thread called\n", PyThread_get_thread_ident())); in PyThread_exit_thread()
255 dprintf(("%lu: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock()
263 dprintf(("%lu: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
296 PyThread_get_thread_ident(), aLock, microseconds)); in PyThread_acquire_lock_timed()
307 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()
Dthreadmodule.c616 tstate->thread_id = PyThread_get_thread_ident(); in t_bootstrap()
765 ident = PyThread_get_thread_ident(); in thread_get_ident()
Dtimemodule.c976 main_thread = PyThread_get_thread_ident(); in inittime()
1079 main_thread != PyThread_get_thread_ident())
/external/python/cpython3/Modules/
Dsignalmodule.c426 if (PyThread_get_thread_ident() != main_thread) { in signal_signal_impl()
565 if (PyThread_get_thread_ident() != main_thread) { in signal_set_wakeup_fd()
1218 main_thread = PyThread_get_thread_ident(); in PyInit__signal()
1519 if (PyThread_get_thread_ident() != main_thread) in PyErr_CheckSignals()
1593 if (PyThread_get_thread_ident() != main_thread) in PyOS_InterruptOccurred()
1620 main_thread = PyThread_get_thread_ident(); in _PySignal_AfterFork()
1627 return PyThread_get_thread_ident() == main_thread; in _PyOS_IsMainThread()
D_threadmodule.c295 tid = PyThread_get_thread_ident(); in rlock_acquire()
338 unsigned long tid = PyThread_get_thread_ident(); in rlock_release()
423 unsigned long tid = PyThread_get_thread_ident(); in rlock_is_owned()
990 tstate->thread_id = PyThread_get_thread_ident(); in t_bootstrap()
1137 unsigned long 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/Include/
Dpythread.h27 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)
342 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