Home
last modified time | relevance | path

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

12

/third_party/python/Modules/
Dhashlib.h45 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
47 PyThread_acquire_lock((obj)->lock, 1); \
D_xxsubinterpretersmodule.c753 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_free()
767 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_add()
791 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_next()
817 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_close_interpreter()
840 PyThread_acquire_lock(chan->mutex, WAIT_LOCK); in _channel_close_all()
969 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_lookup()
1001 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_add()
1033 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_close()
1111 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_remove()
1136 PyThread_acquire_lock(channels->mutex, WAIT_LOCK); in _channels_add_id_object()
[all …]
Dfaulthandler.c640 PyThread_acquire_lock(thread.running, 1); in cancel_dump_traceback_later()
644 PyThread_acquire_lock(thread.cancel_event, 1); in cancel_dump_traceback_later()
743 PyThread_acquire_lock(thread.cancel_event, 1); in faulthandler_dump_traceback_later()
768 PyThread_acquire_lock(thread.running, 1); in faulthandler_dump_traceback_later()
1088 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
1099 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); \
D_tkinter.c251 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); \
273 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); \
2941 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); in _tkinter_tkapp_mainloop_impl()
3408 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); in EventHook()
D_lzmamodule.c73 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
75 PyThread_acquire_lock((obj)->lock, 1); \
Dzlibmodule.c167 if (!PyThread_acquire_lock((obj)->lock, 0)) { \
169 PyThread_acquire_lock((obj)->lock, 1); \
D_threadmodule.c446 if (!PyThread_acquire_lock(self->rlock_lock, 0)) { in rlock_acquire_restore()
448 r = PyThread_acquire_lock(self->rlock_lock, 1); in rlock_acquire_restore()
D_hashopenssl.c592 PyThread_acquire_lock(self->lock, 1); in EVP_update()
1590 PyThread_acquire_lock(self->lock, 1); in _hmac_update()
D_testcapimodule.c2896 PyThread_acquire_lock(thread_done, 1); in test_thread_state()
2905 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2915 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
4389 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
4390 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
4400 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
4404 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
D_tracemalloc.c42 # define TABLES_LOCK() PyThread_acquire_lock(tables_lock, 1)
/third_party/python/Include/
Dpythread.h35 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/third_party/python/Python/
Dpystate.c172 PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK)
549 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDIncref()
562 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDDecref()
1768 PyThread_acquire_lock(xidregistry->mutex, WAIT_LOCK); in _PyCrossInterpreterData_RegisterClass()
1787 PyThread_acquire_lock(xidregistry->mutex, WAIT_LOCK); in _PyCrossInterpreterData_Lookup()
Dthread_nt.h342 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dimport.c133 !PyThread_acquire_lock(import_lock, 0)) in _PyImport_AcquireLock()
136 PyThread_acquire_lock(import_lock, WAIT_LOCK); in _PyImport_AcquireLock()
178 PyThread_acquire_lock(import_lock, WAIT_LOCK); in _PyImport_ReInitLock()
Dthread_pthread.h750 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
/third_party/python/Modules/_ssl/
Ddebughelpers.c150 PyThread_acquire_lock(lock, 1); in _PySSL_keylog_callback()
/third_party/python/Parser/
Dmyreadline.c381 PyThread_acquire_lock(_PyOS_ReadlineLock, 1); in PyOS_Readline()
/third_party/python/Modules/_blake2/
Dblake2b_impl.c284 PyThread_acquire_lock(self->lock, 1); in _blake2_blake2b_update()
Dblake2s_impl.c283 PyThread_acquire_lock(self->lock, 1); in _blake2_blake2s_update()
/third_party/python/Programs/
D_testembed.c284 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()
288 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()
/third_party/python/Modules/_sha3/
Dsha3module.c401 PyThread_acquire_lock(self->lock, 1); in _sha3_sha3_224_update()
/third_party/python/Modules/_io/
Dbufferedio.c281 st = PyThread_acquire_lock(self->lock, 1); in _enter_buffered_busy()
303 ( (PyThread_acquire_lock(self->lock, 0) ? \
/third_party/python/Doc/data/
Dstable_abi.dat601 function,PyThread_acquire_lock,3.2,
/third_party/python/PC/
Dpython3dll.c545 EXPORT_FUNC(PyThread_acquire_lock)

12