MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _acquire_restore

Method _acquire_restore

tools/python-3.11.9-amd64/Lib/threading.py:204–206  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

202 # Internal methods used by condition variables
203
204 def _acquire_restore(self, state):
205 self._block.acquire()
206 self._count, self._owner = state
207
208 def _release_save(self):
209 if self._count == 0:

Callers

nothing calls this directly

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected