Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _is_owned
Method
_is_owned
Lib/threading.py:258–259 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
256
return
(count, owner)
257
258
def
_is_owned(self):
259
return
self._owner == get_ident()
260
261
# Internal method used for reentrancy checks
262
Callers
3
test__is_owned
Method · 0.45
f
Method · 0.45
locked
Method · 0.45
Calls
no outgoing calls
Tested by
3
test__is_owned
Method · 0.36
f
Method · 0.36
locked
Method · 0.36