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

Method _delete

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

Remove current thread from the dict of currently running threads.

(self)

Source from the content-addressed store, hash-verified

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

Callers 1

_bootstrap_innerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected