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

Method _break

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

Source from the content-addressed store, hash-verified

820 self._break()
821
822 def _break(self):
823 # An internal error was detected. The barrier is set to
824 # a broken state all parties awakened.
825 self._state = -2
826 self._cond.notify_all()
827
828 @property
829 def parties(self):

Callers 3

_releaseMethod · 0.95
_waitMethod · 0.95
abortMethod · 0.95

Calls 1

notify_allMethod · 0.45

Tested by

no test coverage detected