Same as the preceding overload, moving functor into the queue.

Synopsis

Declared in <bdlmt_fixedthreadpool.h>

int
enqueueJob(bslmf::MovableRef<Job> functor);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

functor

job to execute, moved into the queue

Created with MrDocs