Create a new queue and return its non‐zero identifier.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

int
createQueue();

Description

Create a queue with unlimited capacity and a default number of initial elements. Return a non‐zero queue ID. The queue ID can be used to enqueue jobs to the queue, or to control or delete the queue.

Return Value

non‐zero queue identifier for the newly created queue

Created with MrDocs