Disable enqueuing to the queue associated with the specified id.
Declared in <bdlmt_multiqueuethreadpool.h>
int
disableQueue(int id);
Disable enqueuing to the queue associated with the specified id. Return 0 on success, and a non-zero value otherwise. Note that this method differs from pauseQueue in that (1) disableQueue does not stop processing for a queue, and (2) prevents additional jobs from being enqueued.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| id | queue identifier |