Enqueue functor at the back of this queue.
Synopsis
Declared in <bdlmt_multiqueuethreadpool.h>
int
pushBack(bslmf::MovableRef<Job> functor);
Description
Enqueue the specified functor at the end of this queue. Return 0 on success, and a non‐zero value if enqueuing is disabled. The value of functor becomes unspecified but valid, and its allocator remains unchanged.
Return Value
0 on success, and a non‐zero value if enqueuing is disabled
Parameters
Name |
Description |
functor |
job to enqueue at the back of this queue |
Created with MrDocs