[#ThreadPool-Interrupt] = xref:ThreadPool.adoc[ThreadPool]::Interrupt :relfileprefix: ../ :mrdocs: Stop accepting new tasks and begin asynchronous shutdown. == Synopsis Declared in `<util/threadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e2046a728)]] void Interrupt(); ---- == Description Wakes all worker threads so they can drain the queue and exit. Unlike Stop(), this function does not wait for threads to finish. Note: The next step in the pool lifecycle is calling Stop(), which releases any dangling resources and resets the pool state for shutdown or restart. [.small]#Created with https://www.mrdocs.com[MrDocs]#