Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _release_save
Method
_release_save
Lib/threading.py:315–316 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
313
return
"<Condition(%s, %d)>"
% (self._lock, len(self._waiters))
314
315
def
_release_save(self):
316
self._lock.release()
# No state to save
317
318
def
_acquire_restore(self, x):
319
self._lock.acquire()
# Ignore saved state
Callers
1
wait
Method · 0.95
Calls
1
release
Method · 0.45
Tested by
no test coverage detected