enqueueJob overloads
Synopses
Declared in <bdlmt_multiqueuethreadpool.h>
Same as the preceding overload, moving functor into the queue.
int
enqueueJob(
int id,
bslmf::MovableRef<Job> functor);
Enqueue the specified functor to the queue specified by id. Return 0 if enqueued successfully, and a non‐zero value if queuing is disabled. If passed by movable reference, the value of functor becomes unspecified but valid, and its allocator remains unchanged. The behavior is undefined unless functor is bound.
int
enqueueJob(
int id,
Job const& functor);
Created with MrDocs