MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_alive

Method is_alive

Lib/threading.py:1452–1455  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1450 _DeleteDummyThreadOnDel(self)
1451
1452 def is_alive(self):
1453 if not self._os_thread_handle.is_done() and self._started.is_set():
1454 return True
1455 raise RuntimeError("thread is not alive")
1456
1457 def join(self, timeout=None):
1458 raise RuntimeError("cannot join a dummy thread")

Callers

nothing calls this directly

Calls 2

is_doneMethod · 0.45
is_setMethod · 0.45

Tested by

no test coverage detected