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

Method locked

tools/python-3.11.9-amd64/Lib/asyncio/locks.py:89–91  ·  view source on GitHub ↗

Return True if lock is acquired.

(self)

Source from the content-addressed store, hash-verified

87 return f'<{res[1:-1]} [{extra}]>'
88
89 def locked(self):
90 """Return True if lock is acquired."""
91 return self._locked
92
93 async def acquire(self):
94 """Acquire a lock.

Callers 8

__repr__Method · 0.45
_maintain_shutdown_locksFunction · 0.45
_stopMethod · 0.45
_wait_for_tstate_lockMethod · 0.45
_shutdownFunction · 0.45
__repr__Method · 0.45
waitMethod · 0.45
notifyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected