[#ThreadPool-ProcessTask]
= xref:ThreadPool.adoc[ThreadPool]::ProcessTask
:relfileprefix: ../
:mrdocs:

Execute a single queued task synchronously&period; Removes one task from the queue and executes it on the calling thread&period;

== Synopsis

Declared in `&lt;util&sol;threadpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e2046a5e8)&rsqb;&rsqb;
bool
ProcessTask();
----

== Return Value

true if a task was executed, false if the queue was empty&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
