[#ThreadPool-SubmitError] = xref:ThreadPool.adoc[ThreadPool]::SubmitError :relfileprefix: ../ :mrdocs: Reason a task submission was rejected by the pool. == Synopsis Declared in `<util/threadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class SubmitError : int; ---- == Members [cols="1,4"] |=== | Name| Description | `Inactive` | The pool has no workers (never started or already stopped). | `Interrupted` | Task acceptance has been interrupted (shutdown in progress). |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:SubmitErrorString.adoc[`::SubmitErrorString`] | Returns a human‐readable description of a task submission error. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#