Home
last modified time | relevance | path

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

123

/external/python/cpython3/Modules/
Dhashlib.h45 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
47 PyThread_acquire_lock((obj)->lock, 1); \
Dfaulthandler.c597 PyThread_acquire_lock(thread.running, 1); in cancel_dump_traceback_later()
601 PyThread_acquire_lock(thread.cancel_event, 1); in cancel_dump_traceback_later()
705 PyThread_acquire_lock(thread.running, 1); in faulthandler_dump_traceback_later()
1033 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
1044 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.c25 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
27 PyThread_acquire_lock((obj)->lock, 1); \
/external/python/cpython2/Python/
Dthread.c271 PyThread_acquire_lock(keymutex, 1); in find_key()
324 PyThread_acquire_lock(keymutex, 1); in PyThread_delete_key()
378 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/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.c2004 PyThread_acquire_lock(thread_done, 1); in test_thread_state()
2013 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2023 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2397 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
2398 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
2408 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
2412 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
/external/python/cpython3/Programs/
D_testembed.c255 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()
259 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()
/external/python/cpython3/Include/
Dpythread.h31 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()
/external/python/cpython3/Python/
Dpystate.c91 #define HEAD_LOCK() PyThread_acquire_lock(_PyRuntime.interpreters.mutex, \
319 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDIncref()
331 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDDecref()

123