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

Calls 1

get_identFunction · 0.70

Tested by 3

test__is_ownedMethod · 0.36
fMethod · 0.36
lockedMethod · 0.36