MCPcopy Create free account
hub / github.com/dask/dask / interrupt

Function interrupt

dask/tests/test_threaded.py:181–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 tasks_can_end.wait()
180
181 def interrupt() -> None:
182 if barrier:
183 barrier.wait()
184 interrupt_main()
185
186 dsk = {("f", i): (f,) for i in range(19)}
187 dsk["interrupt"] = (interrupt,)

Callers

nothing calls this directly

Calls 1

interrupt_mainFunction · 0.90

Tested by

no test coverage detected