Home
last modified time | relevance | path

Searched refs:PyThread_acquire_lock (Results 1 – 25 of 56) sorted by relevance

123

/external/python/cpython3/Modules/
Dhashlib.h46 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
48 PyThread_acquire_lock((obj)->lock, 1); \
Dfaulthandler.c584 PyThread_acquire_lock(thread.running, 1); in cancel_dump_traceback_later()
588 PyThread_acquire_lock(thread.cancel_event, 1); in cancel_dump_traceback_later()
681 PyThread_acquire_lock(thread.running, 1); in faulthandler_dump_traceback_later()
1003 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
1014 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
1329 PyThread_acquire_lock(thread.cancel_event, 1); in _PyFaulthandler_Init()
D_bz2module.c28 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
30 PyThread_acquire_lock((obj)->lock, 1); \
/external/python/cpython2/Python/
Dthread.c268 PyThread_acquire_lock(keymutex, 1); in find_key()
321 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key()
375 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key_value()
Ddynload_beos.c75 PyThread_acquire_lock( beos_dyn_lock, 1 ); in beos_cleanup_dyn()
133 retval = PyThread_acquire_lock( beos_dyn_lock, 1 ); in beos_add_dyn()
Dthread_foobar.h62 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_pthread.h313 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
411 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_cthread.h92 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_wince.h100 int PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dthread_solaris.h107 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_lwp.h85 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_pth.h123 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_os2.h154 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dthread_beos.h212 int PyThread_acquire_lock( PyThread_type_lock lock, int waitflag ) in PyThread_acquire_lock() function
Dthread_atheos.h216 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
Dthread_nt.h242 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dthread_sgi.h238 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
/external/python/cpython3/Python/
Dthread.c215 PyThread_acquire_lock(keymutex, 1); in find_key()
271 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key()
318 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key_value()
Dthread_foobar.h61 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
/external/python/cpython2/Include/
Dpythread.h19 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/external/python/cpython2/Modules/
Dthreadmodule.c35 PyThread_acquire_lock(self->lock_lock, 0); in lock_dealloc()
52 i = PyThread_acquire_lock(self->lock_lock, i); in lock_PyThread_acquire_lock()
73 if (PyThread_acquire_lock(self->lock_lock, 0)) { in lock_PyThread_release_lock()
95 if (PyThread_acquire_lock(self->lock_lock, 0)) { in lock_locked_lock()
D_hashopenssl.c23 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
25 PyThread_acquire_lock((obj)->lock, 1); \
312 PyThread_acquire_lock(self->lock, 1); in EVP_update()
D_testcapimodule.c1907 PyThread_acquire_lock(thread_done, 1); in test_thread_state()
1916 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
1926 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2299 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
2300 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
2310 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
2314 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
/external/python/cpython3/Include/
Dpythread.h27 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/external/python/cpython2/Parser/
Dmyreadline.c196 PyThread_acquire_lock(_PyOS_ReadlineLock, 1); in PyOS_Readline()

123