Home
last modified time | relevance | path

Searched refs:PyThread_acquire_lock (Results 1 – 25 of 30) 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.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 …]
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); \
D_threadmodule.c443 if (!PyThread_acquire_lock(self->rlock_lock, 0)) { in rlock_acquire_restore()
445 r = PyThread_acquire_lock(self->rlock_lock, 1); in rlock_acquire_restore()
843 PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK)
D_tkinter.c259 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); \
281 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); \
2741 if(tcl_lock)PyThread_acquire_lock(tcl_lock, 1); in _tkinter_tkapp_mainloop_impl()
3207 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_hashopenssl.c593 PyThread_acquire_lock(self->lock, 1); in EVP_update()
1591 PyThread_acquire_lock(self->lock, 1); in _hmac_update()
D_testcapimodule.c3071 PyThread_acquire_lock(thread_done, 1); in test_thread_state()
3080 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
3090 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
4568 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
4569 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
4579 PyThread_acquire_lock(test_c_thread.start_event, 1); in call_in_temporary_c_thread()
4587 PyThread_acquire_lock(test_c_thread.exit_event, 1); in call_in_temporary_c_thread()
4610 PyThread_acquire_lock(test_c_thread.exit_event, 1); in join_temporary_c_thread()
D_tracemalloc.c49 # define TABLES_LOCK() PyThread_acquire_lock(tables_lock, 1)
/third_party/python/Include/
Dpythread.h30 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/third_party/python/Modules/_ssl/
Ddebughelpers.c150 PyThread_acquire_lock(lock, 1); in _PySSL_keylog_callback()
/third_party/python/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()
Dthread_nt.h353 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() function
Dimport.c126 !PyThread_acquire_lock(import_lock, 0)) in _PyImport_AcquireLock()
129 PyThread_acquire_lock(import_lock, WAIT_LOCK); in _PyImport_AcquireLock()
171 PyThread_acquire_lock(import_lock, WAIT_LOCK); in _PyImport_ReInitLock()
Dthread_pthread.h749 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() function
/third_party/python/Parser/
Dmyreadline.c382 PyThread_acquire_lock(_PyOS_ReadlineLock, 1); in PyOS_Readline()
/third_party/python/Modules/_blake2/
Dblake2b_impl.c286 PyThread_acquire_lock(self->lock, 1); in _blake2_blake2b_update()
Dblake2s_impl.c286 PyThread_acquire_lock(self->lock, 1); in _blake2_blake2s_update()
/third_party/python/Modules/_sha3/
Dsha3module.c297 PyThread_acquire_lock(self->lock, 1); in _sha3_sha3_224_update()
/third_party/python/Programs/
D_testembed.c385 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()
389 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()
/third_party/python/Modules/_io/
Dbufferedio.c268 st = PyThread_acquire_lock(self->lock, 1); in _enter_buffered_busy()
290 ( (PyThread_acquire_lock(self->lock, 0) ? \
/third_party/python/PC/
Dpython3dll.c556 EXPORT_FUNC(PyThread_acquire_lock)
/third_party/python/Doc/data/
Dstable_abi.dat619 function,PyThread_acquire_lock,3.2,,

12