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

Method is_alive

Lib/threading.py:1177–1186  ·  view source on GitHub ↗

Return whether the thread is alive. This method returns True just before the run() method starts until just after the run() method terminates. See also the module function enumerate().

(self)

Source from the content-addressed store, hash-verified

1175 return self._native_id
1176
1177 def is_alive(self):
1178 """Return whether the thread is alive.
1179
1180 This method returns True just before the run() method starts until just
1181 after the run() method terminates. See also the module function
1182 enumerate().
1183
1184 """
1185 assert self._initialized, "Thread.__init__() not called"
1186 return self._started.is_set() and not self._os_thread_handle.is_done()
1187
1188 @property
1189 def daemon(self):

Callers 8

_communicateMethod · 0.45
reapMethod · 0.45

Calls 2

is_setMethod · 0.45
is_doneMethod · 0.45