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

Class _MainThread

tools/python-3.11.9-amd64/Lib/threading.py:1407–1417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1405# Special thread class to represent the main thread
1406
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 2

threading.pyFile · 0.85
_after_forkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected