BloombergLP::bdlmt::MultiQueueThreadPool::addJobAtFront

Same as the preceding overload, moving functor into the queue.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

int
addJobAtFront(
    int id,
    bslmf::MovableRef<Job> functor);

Return Value

0 if added successfully, and a non-zero value if queuing is disabled

Parameters

NameDescription
idqueue identifier
functorjob to move to the front of the queue