Add functor at the front of this queue.
Synopsis
Declared in <bdlmt_multiqueuethreadpool.h>
int
pushFront(bslmf::MovableRef<Job> functor);
Description
Add the specified functor at the front 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 front of this queue |
Created with MrDocs