Same as the preceding overload, moving functor into the queue.
Declared in <bdlmt_multiqueuethreadpool.h>
int
enqueueJob(
int id,
bslmf::MovableRef<Job> functor);
0 if enqueued successfully, and a non-zero value if queuing is disabled
| Name | Description |
|---|---|
| id | queue identifier |
| functor | job to move onto the queue |