BloombergLP::bdlmt::FixedThreadPool::enqueueJob

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

Synopsis

Declared in <bdlmt_fixedthreadpool.h>

int
enqueueJob(bslmf::MovableRef<Job> functor);

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
functorjob to execute, moved into the queue