[#CScheduler-StopWhenDrained]
= xref:CScheduler.adoc[CScheduler]::StopWhenDrained
:relfileprefix: ../
:mrdocs:

Tell any threads running serviceQueue to stop when there is no work left to be done

== Synopsis

Declared in `&lt;scheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94ff5aedb8)&rsqb;&rsqb;
void
StopWhenDrained();
----


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