[#BloombergLP-bdlmt-ThreadMultiplexor-processJob] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/ThreadMultiplexor.adoc[ThreadMultiplexor]::processJob :relfileprefix: ../../../ :mrdocs: Process the specified `job` functor in the calling thread if the current number of processors is less than the maximum number of processors. Otherwise, enqueue `job` to the pending job queue. Return 0 on success, and a non‐zero value otherwise. Note that the only requirements on `t_JOBTYPE` are that it defines `operator()`, having a `void` return type, and that it defines a copy constructor. == Synopsis Declared in `<bdlmt_threadmultiplexor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_JOBTYPE> int processJob(t_JOBTYPE const& job); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#