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

Method _exit

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

Source from the content-addressed store, hash-verified

537 raise exceptions.BrokenBarrierError("Abort or reset of barrier")
538
539 def _exit(self):
540 # If we are the last tasks to exit the barrier, signal any tasks
541 # waiting for the barrier to drain.
542 if self._count == 0:
543 if self._state in (_BarrierState.RESETTING, _BarrierState.DRAINING):
544 self._state = _BarrierState.FILLING
545 self._cond.notify_all()
546
547 async def reset(self):
548 """Reset the barrier to the initial state.

Callers 6

waitMethod · 0.95
run_cgiMethod · 0.45
handle_errorMethod · 0.45
exithookMethod · 0.45
_launchMethod · 0.45
mainFunction · 0.45

Calls 1

notify_allMethod · 0.45

Tested by

no test coverage detected