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

Function PyThread_allocate_lock

Python/thread_nt.h:211–225  ·  view source on GitHub ↗

* Lock support. It has too be implemented as semaphores. * I [Dag] tried to implement it with mutex but I could find a way to * tell whether a thread already own the lock or not. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

beos_init_dynFunction · 0.70
PyEval_InitThreadsFunction · 0.70
PyEval_ReInitThreadsFunction · 0.70
Py_MakePendingCallsFunction · 0.70
_PyImport_AcquireLockFunction · 0.70
_PyImport_ReInitLockFunction · 0.70
PyThread_create_keyFunction · 0.70
PyThread_ReInitTLSFunction · 0.70
test_thread_stateFunction · 0.50
newdbhashobjectFunction · 0.50
newdbbtobjectFunction · 0.50
newdbrnobjectFunction · 0.50

Calls 3

PyThread_init_threadFunction · 0.85
AllocNonRecursiveMutexFunction · 0.85

Tested by 1

test_thread_stateFunction · 0.40