MCPcopy Index your code
hub / github.com/RustPython/RustPython / _acquire_restore

Method _acquire_restore

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

Source from the content-addressed store, hash-verified

249 # Internal methods used by condition variables
250
251 def _acquire_restore(self, state):
252 self._block.acquire()
253 self._count, self._owner = state
254
255 def _release_save(self):
256 if self._count == 0:

Callers

nothing calls this directly

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected