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

Method _bootstrap_inner

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

Source from the content-addressed store, hash-verified

1063 pass
1064
1065 def _bootstrap_inner(self):
1066 try:
1067 self._set_ident()
1068 if _HAVE_THREAD_NATIVE_ID:
1069 self._set_native_id()
1070 self._set_os_name()
1071 self._started.set()
1072 with _active_limbo_lock:
1073 _active[self._ident] = self
1074 del _limbo[self]
1075
1076 if _trace_hook:
1077 _sys.settrace(_trace_hook)
1078 if _profile_hook:
1079 _sys.setprofile(_profile_hook)
1080
1081 try:
1082 self._context.run(self.run)
1083 except:
1084 self._invoke_excepthook(self)
1085 finally:
1086 self._delete()
1087
1088 def _delete(self):
1089 "Remove current thread from the dict of currently running threads."

Callers 1

_bootstrapMethod · 0.95

Calls 6

_set_identMethod · 0.95
_set_native_idMethod · 0.95
_set_os_nameMethod · 0.95
_deleteMethod · 0.95
setMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected