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

Method abort

tools/python-3.11.9-amd64/Lib/asyncio/locks.py:562–570  ·  view source on GitHub ↗

Place the barrier into a 'broken' state. Useful in case of error. Any currently waiting tasks and tasks attempting to 'wait()' will have BrokenBarrierError raised.

(self)

Source from the content-addressed store, hash-verified

560 self._cond.notify_all()
561
562 async def abort(self):
563 """Place the barrier into a 'broken' state.
564
565 Useful in case of error. Any currently waiting tasks and tasks
566 attempting to 'wait()' will have BrokenBarrierError raised.
567 """
568 async with self._cond:
569 self._state = _BarrierState.BROKEN
570 self._cond.notify_all()
571
572 @property
573 def parties(self):

Callers 1

connection_madeMethod · 0.45

Calls 1

notify_allMethod · 0.45

Tested by

no test coverage detected