Disable enqueuing of jobs to this thread pool.

Synopsis

Declared in <bdlmt_multiprioritythreadpool.h>

void
disableQueue();

Description

Disable the enqueuing of jobs to this multi‐priority thread pool. When this thread pool is disabled, the status returned when calling either overloaded enqueueJob method will be non‐zero, indicating that the job was not enqueued. Note that calling this method when the queue is already in the disabled state has no effect.

Created with MrDocs