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

Method _exit

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

Source from the content-addressed store, hash-verified

740 # If we are the last thread to exit the barrier, signal any threads
741 # waiting for the barrier to drain.
742 def _exit(self):
743 if self._count == 0:
744 if self._state in (-1, 1):
745 #resetting or draining
746 self._state = 0
747 self._cond.notify_all()
748
749 def reset(self):
750 """Reset the barrier to the initial state.

Callers 3

waitMethod · 0.95
waitMethod · 0.45
process_requestMethod · 0.45

Calls 1

notify_allMethod · 0.45

Tested by

no test coverage detected