Disable enqueuing to the queue associated with the specified id.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

int
disableQueue(int id);

Description

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.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

id

queue identifier

Created with MrDocs