MCPcopy Create free account
hub / github.com/celery/celery / blocking_task

Method blocking_task

t/unit/concurrency/test_thread.py:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 shutdown = threading.Event()
43
44 def blocking_task():
45 started.set()
46 shutdown.wait(timeout=5)
47
48 stop_thread = None
49 try:

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected