Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _is_owned
Method
_is_owned
Lib/threading.py:265–266 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
263
return
(count, owner)
264
265
def
_is_owned(self):
266
return
self._owner == get_ident()
267
268
# Internal method used for reentrancy checks
269
Callers
3
test__is_owned
Method · 0.45
f
Method · 0.45
locked
Method · 0.45
Calls
1
get_ident
Function · 0.70
Tested by
3
test__is_owned
Method · 0.36
f
Method · 0.36
locked
Method · 0.36