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>
template<class t_JOBTYPE>
int
processJob(t_JOBTYPE const& job);
Created with MrDocs