ThreadPool::SubmitError

Reason a task submission was rejected by the pool.

Synopsis

Declared in <util/threadpool.h>

enum class SubmitError : int;

Members

NameDescription
Inactive The pool has no workers (never started or already stopped).
Interrupted Task acceptance has been interrupted (shutdown in progress).

Non-Member Functions

NameDescription
::SubmitErrorStringReturns a human-readable description of a task submission error.