Home
last modified time | relevance | path

Searched refs:WAIT_LOCK (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Modules/
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.c1084 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
1095 PyThread_acquire_lock(lock, WAIT_LOCK); in faulthandler_fatal_error_c_thread()
/external/python/cpython2/Include/
Dpythread.h20 #define WAIT_LOCK 1 macro
/external/python/cpython3/Include/
Dpythread.h36 #define WAIT_LOCK 1 macro
/external/python/cpython3/Python/
Dpystate.c162 PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK)
502 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDIncref()
515 PyThread_acquire_lock(interp->id_mutex, WAIT_LOCK); in _PyInterpreterState_IDDecref()
1627 PyThread_acquire_lock(xidregistry->mutex, WAIT_LOCK); in _PyCrossInterpreterData_RegisterClass()
1646 PyThread_acquire_lock(xidregistry->mutex, WAIT_LOCK); in _PyCrossInterpreterData_Lookup()
Dceval.c563 PyThread_acquire_lock(pending->lock, WAIT_LOCK); in _PyEval_AddPendingCall()
649 PyThread_acquire_lock(pending->lock, WAIT_LOCK); in make_pending_calls()
/external/python/cffi/c/
Dmisc_thread_common.h44 #define TLS_ZOM_LOCK() PyThread_acquire_lock(cffi_zombie_lock, WAIT_LOCK)
Dffi_obj.c1058 PyThread_acquire_lock(lock, WAIT_LOCK); in ffi_init_once()
/external/python/cpython2/Python/
Dpystate.c33 #define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK)
Dceval.c478 PyThread_acquire_lock(pending_lock, WAIT_LOCK); in Py_MakePendingCalls()
/external/python/cpython3/Programs/
D_testembed.c268 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()
272 PyThread_acquire_lock(lock, WAIT_LOCK); in test_bpo20891()