MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / PyThread_acquire_lock

Function PyThread_acquire_lock

Python/thread_nt.h:241–253  ·  view source on GitHub ↗

* Return 1 on success if the lock was acquired * * and 0 if the lock was not acquired. This means a 0 is returned * if the lock has already been acquired by this thread! */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

beos_cleanup_dynFunction · 0.70
beos_add_dynFunction · 0.70
PyEval_InitThreadsFunction · 0.70
PyEval_AcquireLockFunction · 0.70
PyEval_AcquireThreadFunction · 0.70
PyEval_ReInitThreadsFunction · 0.70
PyEval_RestoreThreadFunction · 0.70
Py_AddPendingCallFunction · 0.70
Py_MakePendingCallsFunction · 0.70
PyEval_EvalFrameExFunction · 0.70
_PyImport_AcquireLockFunction · 0.70
find_keyFunction · 0.70

Calls 2

EnterNonRecursiveMutexFunction · 0.85

Tested by 1

test_thread_stateFunction · 0.40