MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/threading.py:1409–1417  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1407class _MainThread(Thread):
1408
1409 def __init__(self):
1410 Thread.__init__(self, name="MainThread", daemon=False)
1411 self._set_tstate_lock()
1412 self._started.set()
1413 self._set_ident()
1414 if _HAVE_THREAD_NATIVE_ID:
1415 self._set_native_id()
1416 with _active_limbo_lock:
1417 _active[self._ident] = self
1418
1419
1420# Dummy thread class to represent threads not started here.

Callers

nothing calls this directly

Calls 5

_set_tstate_lockMethod · 0.80
_set_identMethod · 0.80
_set_native_idMethod · 0.80
__init__Method · 0.45
setMethod · 0.45

Tested by

no test coverage detected