[#BloombergLP-bdlmt-MultiQueueThreadPool-enqueueJob-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultiQueueThreadPool.adoc[MultiQueueThreadPool]::enqueueJob :relfileprefix: ../../../ :mrdocs: `enqueueJob` overloads == Synopses Declared in `<bdlmt_multiqueuethreadpool.h>` Same as the preceding overload, moving `functor` into the queue. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/MultiQueueThreadPool/enqueueJob-0a.adoc[enqueueJob]( int id, xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<Job>] functor); ---- [.small]#xref:BloombergLP/bdlmt/MultiQueueThreadPool/enqueueJob-0a.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/MultiQueueThreadPool/enqueueJob-05.adoc[enqueueJob]( int id, xref:BloombergLP/bdlmt/MultiQueueThreadPool/Job.adoc[Job] const& functor); ---- [.small]#xref:BloombergLP/bdlmt/MultiQueueThreadPool/enqueueJob-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#