Same as the preceding overload, moving functor into the queue.
Synopsis
Declared in <bdlmt_fixedthreadpool.h>
int
tryEnqueueJob(bslmf::MovableRef<Job> functor);
Return Value
0 on success, and a non‐zero value if the queue is full or disabled
Parameters
Name |
Description |
functor |
job to execute, moved into the queue |
Created with MrDocs