Place the barrier into a 'broken' state. Useful in case of error. Any currently waiting threads and threads attempting to 'wait()' will have BrokenBarrierError raised.
(self)
| 767 | self._cond.notify_all() |
| 768 | |
| 769 | def abort(self): |
| 770 | """Place the barrier into a 'broken' state. |
| 771 | |
| 772 | Useful in case of error. Any currently waiting threads and threads |
| 773 | attempting to 'wait()' will have BrokenBarrierError raised. |
| 774 | |
| 775 | """ |
| 776 | with self._cond: |
| 777 | self._break() |
| 778 | |
| 779 | def _break(self): |
| 780 | # An internal error was detected. The barrier is set to |