MCPcopy Index your code
hub / github.com/python/cpython / _acquire_restore

Method _acquire_restore

Lib/threading.py:244–246  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

242 # Internal methods used by condition variables
243
244 def _acquire_restore(self, state):
245 self._block.acquire()
246 self._count, self._owner = state
247
248 def _release_save(self):
249 if self._count == 0:

Callers

nothing calls this directly

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected