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

Method release

Demo/metaclasses/Synch.py:81–100  ·  view source on GitHub ↗

Release the lock. If this thread doesn't currently have the lock, an assertion error is raised. Only allow another thread to acquire the lock when the count reaches zero after decrementing it.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

test_valueFunction · 0.95
_testLockFunction · 0.95
value_funcFunction · 0.45
condition_funcFunction · 0.45
test_conditionFunction · 0.45
semaphore_funcFunction · 0.45
queuespeed_funcFunction · 0.45
test_queuespeedFunction · 0.45
pipe_funcFunction · 0.45
test_pipespeedFunction · 0.45
test_lockspeedFunction · 0.45
conditionspeed_funcFunction · 0.45

Calls 1

acquireMethod · 0.45

Tested by 6

test_valueFunction · 0.76
test_conditionFunction · 0.36
test_queuespeedFunction · 0.36
test_pipespeedFunction · 0.36
test_lockspeedFunction · 0.36
test_conditionspeedFunction · 0.36