[#ThreadPool-ProcessTask] = xref:ThreadPool.adoc[ThreadPool]::ProcessTask :relfileprefix: ../ :mrdocs: Execute a single queued task synchronously. Removes one task from the queue and executes it on the calling thread. == Synopsis Declared in `<util/threadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e2046a5e8)]] bool ProcessTask(); ---- == Return Value true if a task was executed, false if the queue was empty. [.small]#Created with https://www.mrdocs.com[MrDocs]#