Lines Matching defs:broken
636 # and a 'broken' state in which all threads get the exception.
659 self._state = 0 # 0 filling, 1 draining, -1 resetting, -2 broken
664 if self.broken:
665 return f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}: broken>"
698 # if it is broken.
703 #see if the barrier is in a broken state
723 # if the barrier is reset or broken.
755 #was broken, set it to reset state
763 """Place the barrier into a 'broken' state.
774 # a broken state all parties awakened.
793 def broken(self):
794 """Return True if the barrier is in a broken state."""