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

Method _release

tools/python-3.11.9-amd64/Lib/asyncio/locks.py:520–526  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

518 raise exceptions.BrokenBarrierError("Barrier aborted")
519
520 async def _release(self):
521 # Release the tasks waiting in the barrier.
522
523 # Enter draining state.
524 # Next waiting tasks will be blocked until the end of draining.
525 self._state = _BarrierState.DRAINING
526 self._cond.notify_all()
527
528 async def _wait(self):
529 # Wait in the barrier until we are released. Raise an exception

Callers 1

waitMethod · 0.95

Calls 1

notify_allMethod · 0.45

Tested by

no test coverage detected