stop()
Orderly shutdown (controller only).
Usage
stop(timeout=5.0)Tell the workers to exit, cancel pending tasks, wait up to timeout seconds for clean exits, and release the shared memory. Safe to call more than once.
Returns
True on clean worker exits withintimeout.
Raises
ConcurrentUseError- A blocking collect or a submit is in flight on this handle from a second thread: each half is confined to one thread (the class docstring).