MCPcopy Index your code
hub / github.com/python/cpython / _delete

Method _delete

Lib/threading.py:1081–1088  ·  view source on GitHub ↗

Remove current thread from the dict of currently running threads.

(self)

Source from the content-addressed store, hash-verified

1079 self._delete()
1080
1081 def _delete(self):
1082 "Remove current thread from the dict of currently running threads."
1083 with _active_limbo_lock:
1084 del _active[get_ident()]
1085 # There must not be any python code between the previous line
1086 # and after the lock is released. Otherwise a tracing function
1087 # could try to acquire the lock again in the same thread, (in
1088 # current_thread()), and would block.
1089
1090 def join(self, timeout=None):
1091 """Wait until the thread terminates.

Callers 1

_bootstrap_innerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected