BloombergLP::bdlmt::ThreadPool::enabled

Return the state (enabled or not) of the thread pool.

Synopsis

Declared in <bdlmt_threadpool.h>

int
enabled() const;

Return Value

non-zero if queuing is enabled, and 0 otherwise