Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/python/cpython3/Modules/
D_xxsubinterpretersmodule.c757 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_free()
771 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_add()
795 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_next()
821 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_close_interpreter()
844 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_close_all()
973 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_lookup()
1005 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_add()
1037 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_close()
1115 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_remove()
1140 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_add_id_object()
[all …]
Dhashlib.h45 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
47 PyThread_acquire_lock((obj)->lock, 1); \
Dfaulthandler.c659 PyThread_acquire_lock(thread.running, 1); in cancel_dump_traceback_later()
663 PyThread_acquire_lock(thread.cancel_event, 1); in cancel_dump_traceback_later()
762 PyThread_acquire_lock(thread.cancel_event, 1); in faulthandler_dump_traceback_later()
787 PyThread_acquire_lock(thread.running, 1); in faulthandler_dump_traceback_later()
1107 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
1118 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
D_bz2module.c76 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
78 PyThread_acquire_lock((obj)->lock, 1); \
/aosp_15_r20/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_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_foobar.h62 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
/aosp_15_r20/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()
/aosp_15_r20/external/python/cpython3/Python/
Dpystate.c217 PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK)
660 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDIncref()
673 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDDecref()
1960 PyThread_acquire_lock(xidregistry->mutex, WAIT_LOCK); in _PyCrossInterpreterData_RegisterClass()
1979 PyThread_acquire_lock(xidregistry->mutex, WAIT_LOCK); in _PyCrossInterpreterData_Lookup()
/aosp_15_r20/external/python/cpython2/Include/
Dpythread.h19 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dpythread.h30 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/aosp_15_r20/external/python/cpython3/Include/
Dpythread.h30 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dpythread.h30 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dpythread.h30 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dpythread.h30 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/aosp_15_r20/external/python/cpython2/Parser/
Dmyreadline.c196 PyThread_acquire_lock(_PyOS_ReadlineLock, 1); in PyOS_Readline()

123