[#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 `<scheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e20c55f08)]] void StopWhenDrained(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#