MCPcopy 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_ownedMethod · 0.45
fMethod · 0.45
lockedMethod · 0.45

Calls

no outgoing calls

Tested by 3

test__is_ownedMethod · 0.36
fMethod · 0.36
lockedMethod · 0.36